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

Questions tagged [ajax]

AJAX (Asynchronous JavaScript and XML) is a technique for creating interactive website user interfaces without the traditional web page refresh or reload. It uses asynchronous data exchange between client and server to update displayed information and respond to user interactions seamlessly. Include additional tags for programming languages, libraries, frameworks, web browsers, protocols and other environmental information.

0 votes
0 answers
6 views

AJAX Patch Request returns empty in Laravel Controller

I am trying to update a resource in Laravel sending a PATCH request to my controller. This is my AJAX call $.ajax('profile', { // Replace with your actual endpoint URL type: 'PATCH', ...
SBECK1's user avatar
  • 247
0 votes
0 answers
10 views

Can I be sure that the application/json header is only set on ajax requests?

I need to distinguish browser requests from ajax requests and can see that when making a request via a form submission in regular HTML, I get the following value for the accept header: text/html,...
Oscar R's user avatar
  • 452
0 votes
2 answers
17 views

Htmx on custom events

I'm trying to use htmx triggers and custom events without success. I'm using custom events because I'm going to trigger multiple refresh in a page. My source is very simple, but I cannot make it work: ...
Dario Basset's user avatar
-3 votes
0 answers
22 views

Hi i'm making kuro panel of bgmi mod with pre-built src after deploying my site table id=datatable - Ajax error [closed]

plz help i tried to solve this porblem by chatgpt but not works plz if anybody help me im oppening keys page and it was giving me error = DataTables warning: table id=datatable - Ajax error. For more ...
hunter34's user avatar
0 votes
0 answers
11 views

ASP.NET MVC (blocked:csp) error when running in local

I am getting the (blocked:csp) error in my Chrome browser when my app. I have the headers set up like this: HttpContext.Current.Response.Headers.Add("X-Content-Security-Policy", "...
Wasyster's user avatar
  • 2,447
-2 votes
0 answers
16 views

Données formData envoyées à d'autres routes laravel vide alors que les données sont present pour un route [closed]

Bonjour, j'utilise laravel 10 pour mon projet et je rencontre un problème que je n'arrive pas à comprendre.. J'utilise FormData pour mes données et les envoyé via ajax avec jquery. Les données du ...
Dhakii's user avatar
  • 1
-4 votes
0 answers
21 views

Using ajax and js pop up message is coming undefined [closed]

Pop up message is showing undefined code is correct but I have changed so many times See I want in pop up that message texted successful but when I am refreshing then also it is coming undefined plz ...
darshan jadhav's user avatar
0 votes
0 answers
20 views

Handling long-running async AJAX requests in ASP.NET Core MVC with Bootstrap 4.8 and JS

I have an ASP.NET Core MVC project with HTML Bootstrap 4.8 and JS. Some user requests take longer (like 30 seconds or even more) due to the nature of my business. These are async AJAX requests, and ...
rd1218's user avatar
  • 371
0 votes
0 answers
11 views

CodeIgniter 3: Fatal Error. Uncaught error: Class 'CI_Controller' not found

So this is a kinda old project running CI3 and we're facing this issue. It's very sporadic, it seems like it happens when requesting Ajax routes and the temporary fix testers have found is to "...
Santiago Cuartas Arango's user avatar
0 votes
0 answers
33 views

JQuery - How to append to element during each iteration of a loop

This is a question that seems to have been asked a number of times here by different people using a number of different coding languages, but no one seems to have come up with a clear definitive ...
Graphic Detail's user avatar
1 vote
0 answers
28 views

"AJAX Request Not Working: Listener Indicated Asynchronous Response but Message Channel Closed" Unsure where to go from here [closed]

I'm working on a simple search functionality using jQuery and AJAX. The script is supposed to send a POST request whenever the user types in the search box and display the results in a div below the ...
George N.'s user avatar
0 votes
1 answer
30 views

How properly to integrate part of the JS code of the save button for the output script

Good day. I'm trying to transfer the Opencart module, I've done everything, but I can't integrate part of the JS code of the save button for the output script on the main page. All this works through ...
Den4will's user avatar
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