All Questions
Tagged with ajax javascript
103,194
questions
-2
votes
0
answers
34
views
Technically a form within a form [closed]
I have a form for users to select their gender but I would like to add an input so that the user may add a gender to the MYSQL database and auto refresh the form to include their new gender for a ...
0
votes
0
answers
34
views
How to send request from js cordova to PHP? cors system error
When sending a request from a cordova JS request application a CORS error comes out, and I don't understand how to customize the headers.
The application is on different devices, addresses are ...
0
votes
0
answers
21
views
How to Display Real-Time Progress Bar for Product Import in WooCommerce?
I am building a custom product import page for WooCommerce where users can upload a CSV file to update product stock or price. I want to show a real-time progress bar that displays the percentage of ...
2
votes
3
answers
66
views
Ajax is preventing input type number min attribute
function Min(ID) {
$Number = document.getElementById(ID);
if ($Number.value < 1 && $Number.value !== "") {
$Number.value = 1;
}
}
echo '
<form id="' . ...
0
votes
1
answer
46
views
XSRF-TOKEN won't change a second time
I'm creating a single page form that won't reload the page after submitting the form. I'm currently at the stage where I first get messages like I filled something in incorrectly (that's ok), but then ...
0
votes
1
answer
44
views
Flask session variable not persisting between Ajax requests
In my Flask app, I'm trying to display the progress of a backend task to the client. The client sends an initial request which begins the task. The task contains a loop, and as it iterates, it updates ...
0
votes
0
answers
54
views
CORS Issue: Access-Control-Allow-Origin Header Set to Wildcard * Even When Specific Origins Are Allowed
I am developing a web application using Express.js for the backend and Elementor Frontend, which uses a plugged script to make api calls to the backend. I have implemented CORS (Cross-Origin Resource ...
0
votes
1
answer
50
views
Ajax Error 400 (Bad Request) in Asp.net core Razor Pages
I have a piece of code that collects the values of the inputs in the HTML page and posts them to a handler using AJAX.
However, when sending by AJAX I get a 400 Bad Request error and the handler is ...
-3
votes
1
answer
61
views
how to display output using php ajax in jquery [closed]
Can you please tell me what is wrong with this code? It's not giving me any output after clicking submit.
$('#btnRun').click(function() {
$.ajax({
url: "libs/php/getCountryCode.php",
...
0
votes
1
answer
26
views
Recursive AJAX Call JQuery and SharePoint to get all Items from a SharePoint List
I want to retrieve all items from a SharePoint List. The List has more then 5000 elements, so a recursive ajax call on the REST-API is needed. I can call all the Data into an Array, but the code which ...
0
votes
1
answer
64
views
accessing c# web assembly from javascript in .net MVC [duplicate]
I need to access some c# code from javascript in MVC ,NET (not blazor).
I have the below. This is very specific to .NET and MVC stack and not a generic ajax question like another one in stack overfow. ...
0
votes
2
answers
40
views
Appending Checkboxes via AJAX Success using Bootstrap MultiSelect Checkbox List Dropdown
I am looking to append some checkboxes using a result of data from an Ajax call, However I am having a bit of trouble doing this.. My Response[i] items when iterating seem to be undefined. ...
0
votes
0
answers
38
views
Single-Product.php custom variation attribute dropdowns how do I connect ajax add to cart so it shows the attributes as well?
I have a custom dropdown attributes on single-product.php how do I connect the add to cart button together with the dropdown attribute select so the add to car button works based on ajax? Right now ...
0
votes
0
answers
87
views
Want to create a button to show answer and hide answer
I want to create a webpage like this one..
https://www.placementpreparation.io/quantitative-aptitude/average/questions-and-answers/
I am creating website in WordPress using divi builder. I have tried ...
-1
votes
0
answers
41
views
Events data is not loading in events of full calendar
<script>
var eventsarray = [];
$(document).ready(function () {
$.ajax({
type: 'Get',
url: "GetEvents",
...