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

All Questions

Tagged with
1 vote
2 answers
28 views

PHP HTML JS pagination

I have a page which feedbacks which looks like this (I just show 1 comment per page to see if the pagination works fine. Otherwise I'll show more): The feedbacks come from a mysql database and are ...
Andy McRae's user avatar
0 votes
1 answer
34 views

Display an Alert When User Session Expires in Laravel

I am using the Laravel framework and would like to create an alert when the session expires. I tried implementing a JavaScript code that checks if the user is logged in every three seconds as follows: ...
Rodrigo Franco's user avatar
-3 votes
0 answers
29 views

how can i correctly return array value to jquery [closed]

<?php include ('config/dbcon.php'); if (isset($_GET['visa-id'])) { $visa_id = $_GET['visa-id']; $query = "SELECT document, preference FROM visa_document WHERE visa-id = '$visa-id'&...
Hissan Zahir's user avatar
0 votes
1 answer
42 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
58 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
53 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
56 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

15 30 50 per page
1
2 3 4 5
6580