All Questions
Tagged with ajax javascript
103,251
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
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:
...
-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 ...
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 ...
0
votes
0
answers
51
views
TYPO3 object is undefined in the JavaScript file
I am trying to make an Ajax request to the backend, but I get the error Uncaught ReferenceError: TYPO3 is not defined which is caused by this line :
const url = TYPO3.settings.ajaxUrls['...
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 ...
-2
votes
1
answer
42
views
Ajax is not working without refreshing the page [closed]
Ajax is not working without refreshig the page to make it work.I am coding an ecommerce website in django and need to show quantity of products in the cart but it dont show quantity without refresh ...
0
votes
1
answer
38
views
How to Display Item Quantity Based on Product Selection in Laravel 11?
How to display the quantity of items from the 'item_amount' column when a product name is selected from the 'item_name' selector in Laravel 11, based on the data in the database?
Database
id
...
-3
votes
0
answers
21
views
javascript 403 forbidden wilayah codeigniter 4 [closed]
Mohon bantuannya untuk mengatasi javascript wilayah
View:
<select name="prov" class="form-control" id="provinsi">
<option value=""><?= $prov ?...
-2
votes
1
answer
53
views
JavaScript Uncaught ReferenceError: jsPDF is not defined at HTMLButtonElement.<anonymous> (id.php?userPhone=123:93:23)
I am trying to create a user ID card web page that displays user information which was received via the backend. I also have to add a button below the id card which allows users to download the ID ...
-1
votes
0
answers
40
views
Empty cache and weird first page loads on symfony 7.1
In my symfony 7.1 (php 8.3) application, on the registration page, the first attempt to submit the form always results in a console error message "turbo.index-810f44ef1a202a441e4866b7a4c72d11.js:...
0
votes
0
answers
23
views
WooCommerce wc_fragment_refresh fragment
I’m trying to figure out how to access the html fragment returned by the min-cart template when retrieved by the WooCommerce wc_fragment_refresh event.
The filter function in this solution isn't ...