221,569
questions
0
votes
0
answers
17
views
Apache and Reverse Proxy Issue
I have a server that is hosting some API's (we'll call it API-1). I also have a server that is hosting files that developers can use to incorporate an iFrame into their website. When they try to ...
-3
votes
0
answers
48
views
Store result from ajax API call into Var | jQuery [duplicate]
I am able to get result from ajax API Call and want to store result into var, but the result does't store into var. Please help me to achieve this. Below is the code for ajax response:-
var Name = '';
...
0
votes
1
answer
31
views
Post a form via jquery from a same page where url is slightly changed but working on one url and refreshes the page on other url
I'm facing a weird problem where I have to reach a form page via two methods: create and edit. When posting from the create URL, the same form works perfectly, but whenever I post via edit or re-...
-2
votes
3
answers
55
views
laravel datatable takes long time to load with only two records
i have the following code with only 2 records of data
my controller :
if (request()->ajax()){
$spareparts = Sparepart::select(DB::raw('DATE_FORMAT(spareparts.created_at,"%d-%m-%...
0
votes
0
answers
31
views
Chart.js Panning Not Working in ASP.NET MVC Application Using chartjs-plugin-zoom
I'm developing an ASP.NET 8 MVC application where I'm using Chart.js to display two real-time line charts: one for "Penetration Depth" and another for "Hydrophone Audio Levels." I’...
0
votes
0
answers
20
views
Delete and update data at the same time in Laravel Ajax dynamic form
I have a form divided into two sections, a regular product form and a dynamic form for the product details below the regular one. I can successfully update or create new data. Now I tried using Ajax ...
0
votes
1
answer
31
views
Bootstrap Datatables sort for various measurement units not working
I have a column which has length values defined in various units, for eg:- 10mm, 200cm, 500mm, etc., where mm = millimeter and cm = centimeter. I am using the server-side script to get this from my ...
-1
votes
0
answers
23
views
How to Improve Load Time of Addonify - Quick View for WooCommerce Modal in WordPress? [closed]
`I'm using the Addonify - Quick View for WooCommerce plugin on my WordPress site to allow users to view product details in a modal popup. However, when I open the Quick View modal, it takes ...
0
votes
1
answer
20
views
How to parse "structured" input tag data with using Jquery so I can send it via jQuery AJAX?
I need to submit unknown input data from within an element such as a div using Jquery. FYI, I can't use a form element because this data might already be inside a form.
The input names need to be, for ...
-2
votes
0
answers
39
views
Problem: 307 Temporary Redirect Error in AJAX Request
Problem: 307 Temporary Redirect Error in AJAX Request
I am facing an issue where, while making an AJAX request from my WordPress website, I sometimes get a 307 Temporary Redirect error. The request is ...
0
votes
0
answers
40
views
Woocommece update mini cart count ajax [closed]
I am using following code to add product to cart on my button click. It works fine (product is added to cart), but the count in mini cart is only updated after second add. First time I click add, ...
-5
votes
0
answers
40
views
AJAX Request Not Working on Live Server, But Works Locally – Any Ideas? [closed]
I’m working on a web site that uses AJAX to fetch data from an API, and everything works perfectly on my local development server. However, when I upload it to the live server, the AJAX request fails ...
-1
votes
0
answers
43
views
How to do ajax in php without form [closed]
I am trying to implement sweet alert in my web app for deleting some row from database server.
but the post is posting [object][object] instead of the values
Here is my code
$(".action")....
0
votes
1
answer
15
views
How to catch errors inside request.done() in ajax jquery?
I'm new to jquery.
I have a script to send a request to an API. Basically everything is working fine. Now I'm trying to simulate a network connection error, and show an appropriate error message to ...
0
votes
0
answers
49
views
user registration plugin Uncaught SyntaxError: Unexpected token 'o', ..." [closed]
I have a problem in my wordpress theme that causes the user registration plugin to not work and give an error when submit it and doesn't create user.
It works on wordpress seventeen theme and the ...
0
votes
1
answer
65
views
Run ajax call after close modal form ASP.NET Core
I am using ASP.NET Core 6. I have a razor view that has a section in it that is populated by an Ajax call:
<div id="assessmentTablesDiv">
<!-- ...content... -->
</div&...
1
vote
0
answers
63
views
jQuery ajax call returns different things on different servers
I have the same front end and back end code running on two different servers (each frontend calls the associated back end, no CORS issues involved).
One one server I make a jQuery 3.5.1 $.ajax call to ...
0
votes
0
answers
16
views
Event Listeners only working on initial page, not on AJAX pagination reload
I have a loop grid which works and filters fine, with a dynamic pop-up box which appears when a container is clicked. My issue is that this only works on the initially loaded items in my grid, and ...
0
votes
0
answers
37
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
22
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 ...
-4
votes
0
answers
22
views
Need help on python webscraping on ajax site
I’m working on web scraping this site: https://www.guardian.com.sg/promo-highlight/below-10.html?page=1, which uses AJAX. The header request is extensive, as seen here:
https://catalog-service.adobe....
0
votes
1
answer
57
views
Laravel PHP Request Size on Azure WebApp
I have two Web Apps created in Azure - dev and prod. Both on Linux. They have exactly the same setups, same env variables etc. I encountered a strange bug while sending a request from my FrontEnd to ...
-2
votes
0
answers
23
views
How to send data by ajax to controller in spring boot
I try to send data from html form to controller this made by spring boot, but data can't send to controller
this is my ajax :
$.ajax({
url : '/Hoadon/addhdproccess',
...
2
votes
3
answers
68
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="' . ...
1
vote
1
answer
67
views
Laravel 11 Route not found 404 jQuery
I'm using Laravel 11 and jQuery
I have this error :
Erreur 404: Not Found
{
"message": "The route %7B%7B%20route('columns.all')%20%7D%7D could not be found.",
"exception&...
0
votes
1
answer
53
views
post id for data deletion using ajax showing missing required parameters in controller route
I am trying to delete data via datatable delete button. But I am getting error.
I have created route as::
Route::resource('dealers', DealerController::class);
My controller function::
public function ...
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 ...
1
vote
4
answers
56
views
Jquery Ajax call not sending all variables via a Post request
Reading and re-reading I do not know why 2 variables do not get passed but one does. JQuery Ajax call (LAMP env):
<script type="text/javascript">
$(document).ready(function() {
$('#...
0
votes
0
answers
28
views
Woocommerce 'Select Option' Popup
I am trying to add a popup modal on 'select option' button in a woocommerce website. I want my customer to click 'select option' button to see variation and add products on product pages.
But, the '...
0
votes
1
answer
50
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
1
answer
55
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 ...
0
votes
1
answer
22
views
AFter an ajax request - the table is not populated with a new record
In a typescript file I have the following functions which on click of a button makes an ajax request to add the values to the database.
static bindAddForm() {
TaxIndex....
-3
votes
1
answer
63
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
30
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
0
answers
34
views
How to check only the checkbox with IDs from a datatable according to a string of IDs via Ajax request? PHP, JQuery and Datatable
Scenario:
The datatable has a column with checkbox id="sel_customer" referring to the IDs of Customers with several rows.
The Ajax request (data) returns a string with the list of IDs of the ...
0
votes
1
answer
39
views
How avoid user resending Ajax POST request to Flask app, overwriting data?
A Python Flask app renders a HTML page, using the Geolocation API to record coordinates. Javascript then POSTS this data to the /submit_location endpoint of said Flask app to record it in a database ...
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. ...
-1
votes
1
answer
58
views
Error “foreach() argument must be of type array|object” in laravel controller
During comments show in the post
Error “foreach() argument must be of type array|object” in laravel controller
The code is as under
Blade File
@foreach($comment->product_images as $image)
<a ...
0
votes
1
answer
58
views
Bootstrap mulitselect selected items not working after AJAX call
I am having an issue with Boostrap multi-select selected count not working after my AJAX call.
I have a parent list that I make multiple selections from, which then sends an AJAX call to retrieve the ...
-1
votes
0
answers
39
views
No Image Provided Error with 400 31 Response When Uploading Image via AJAX
I'm working on a Django project where I'm uploading an image to be processed by a machine learning model. The frontend uses jQuery to send the image via an AJAX request. However, the server keeps ...
0
votes
2
answers
45
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
45
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
96
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
45
views
Events data is not loading in events of full calendar
<script>
var eventsarray = [];
$(document).ready(function () {
$.ajax({
type: 'Get',
url: "GetEvents",
...
-3
votes
0
answers
67
views
How do I load and work with PHPspreadsheet via AJAX filepath?
I'm trying to pass a filepath and sheetname via an AJAX request into my PHP script. The AJAX is working, and this is a multi-step file operation: file upload, reading of sheet tabs which get echoed ...
0
votes
0
answers
18
views
When execute multiple ajax function in async way. PHP response in sync way [duplicate]
Here show js function, But my response received from PHP which is in sequence. So I expecting queries to execute all in one go.
PHP queries
public function get_filtered_data_01(){...}
public function ...
0
votes
1
answer
52
views
Why is SimplyBook API addClient function not working? Error log showing "Client name value is wrong"
I am trying to add a client to the SimplyBook system using JSONRCP. This is called when a new user is added to Wordpress as a subscriber using registration form built with the UserRegistration plugin.
...
-1
votes
0
answers
36
views
AJAX polling continues indefinitely even after report generation is complete in Flask app
I have a flask application where users can generate reports. The reports are generated successfully, the report file is produced, but my polling mechanism never stops because the report status is ...
0
votes
0
answers
41
views
Yotpo initWidgets() is not a function in Vue component
I am trying to call the initWidgets(); method provided by Yotpo to re-initialize our reviews widget on page load, per their recommendations. However, I keep getting the error window....
0
votes
2
answers
81
views
Uncaught TypeError: 'append' called on an object that does not implement interface URLSearchParams
I am trying to make a php page with pagination function by first submitting a form and then updating the area with a page click function. The Form that will be submitted is like this:
<form class=&...