Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
41 views

form serialize is not working after ajax request

I have a modal window that is populated using an AJAX request, and it successfully fills all the fields as expected. The issue is not with the AJAX request itself, as it correctly retrieves the data ...
Lidiia's user avatar
  • 1
-1 votes
1 answer
44 views

Disable other checkboxes with specific word when one checkbox with same is checked

I have using following code to create dynamic checkbox fields.... and storing batch unique ids as comma separated values in database for specific user... <?php // Fetching values from mysql ...
Dr M L M J's user avatar
  • 2,385
2 votes
1 answer
54 views

Clear WooCommerce Custom Fees on shipping method change

I'm implementing some additional fields and fees on the Woocommerce Checkout Page depending on the chosen shipping method. I'm stuck when I try to clear all fees when user changes the chosen shipping ...
user520300's user avatar
  • 1,527
0 votes
1 answer
30 views

Issues Implementing AJAX Autocomplete in WordPress Admin with Select2

I'm trying to implement an autocomplete feature in my WordPress admin area using Select2 and AJAX. However, I'm having trouble getting the AJAX requests to work correctly. PHP Code to Handle the AJAX ...
Matteo Didonè's user avatar
-3 votes
0 answers
30 views

how to autofill wordpress checkout page inputs from data from db [closed]

I have a problem with auto filling the inputs , I succussed in get data from db and log it into browser too, but my real problem is that once I change the value of inputs using js or jQuery it just (...
muhammed Amr's user avatar
0 votes
0 answers
24 views

Custom Dropdown input automatic search behavior in Woocommerce Wordpress

I have 2 custom made dropdowns in Woocommerce, that act as filters for products, one including all brands in the site, the second all level 2 categories. They have an automatic tigger search function ...
SamberJac's user avatar
0 votes
0 answers
25 views

Wordpress Select2 Ajax query call data from DB

I'm a beginner coding with JQuery Select2 and Ajax. I'm trying to load dataset from DB into JQuery Select2 dropdown with search option. This is the function for DB query and enqueue scripts in my ...
user23190550's user avatar
1 vote
1 answer
52 views

CodeIgniter and Ajax: Dynamic Dependent Dropdown not working

I'm trying to create a Dynamic Dependent Dropdown via Ajax and CodeIgniter 4. However, I could not make it work. Can you help me figure out what's wrong? I'm trying to follow this tutorial online: ...
cjvdg's user avatar
  • 533
-1 votes
0 answers
19 views

Ajax Jquery append dropdown only populating once [duplicate]

When choosing a state, the user can also filter by city. However, the cities only populate once on their dropdown. All of the data for the new state selection(the cities) is being sent and logged. But ...
Sovereign Vapor's user avatar
-1 votes
0 answers
20 views

function for customizing woocommerce statistics

I'm trying to customize the statistics tab of Woocommerce, in the "promo code" submenu of statistics it displays the codes used, the number of orders concerned and the amount of discounts ...
Sitio's user avatar
  • 1
1 vote
1 answer
54 views

Import an Excel file using AJAX and Laravel

I'm trying to import an Excel file using AJAX and Laravel in my application. the form of excel import is an inner form (form inside another form) The error handling seems to be working partially, but ...
khaled amoudi's user avatar
2 votes
1 answer
55 views

Custom WooCommerce Admin notice with a dynamic message

I cannot display an admin message by sending an argument to the function. It was suggested I use a closure function but this does not appear to work. Here is the code function ...
mrslope's user avatar
  • 47
2 votes
1 answer
89 views

Update mysql database from updating individual cells

Hi I am developing a project locally and started from this https://codepen.io/fjfalah/pen/WEppVa to create my table linked to my mysql database. I have had no problems in displaying the data but I am ...
bastiag5's user avatar
  • 166
0 votes
0 answers
55 views

WordPress AJAX POST Request Not Working: Page Refreshes Instead of Displaying Result in Modal

I've created an AJAX function in WordPress to send a POST request and display the result in a modal upon successful completion, without refreshing the page. However, the AJAX code isn't working. When ...
iyed ghodhbane's user avatar
-1 votes
1 answer
60 views

jQuery Ajax call returns the whole php file raw code

Now I am asking this question after a huge efforts searching for the solution, I know that are a lot of questions that are the same but none of them worked for me, I have three main files, index.html ,...
Ahmed's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
6581