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.
221,764
questions
0
votes
0
answers
13
views
Cannot display image with JavaScript from Django Base
I am attempting to get a customer logo to load when a user signs into my app. To do that I am using the views function below to generate the logo url:
Views:
def view_company_logo(request):
print(&...
0
votes
0
answers
13
views
when export data to pdf using itextcharp libarary it give me empty file downloaded and can't open
I work on asp.net I face issue when export grid view have more than 2000 rows it download empty file pdf without data inside .
and when click on file not open and give me file not in correct format ...
0
votes
1
answer
24
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',
...
0
votes
0
answers
18
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,...
0
votes
2
answers
29
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:
...
-3
votes
0
answers
26
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 ...
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",
"...
-2
votes
0
answers
17
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 ...
-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 ...
0
votes
0
answers
21
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 ...
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 "...
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 ...
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 ...
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 ...
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 ...