Skip to main content

All Questions

0 votes
0 answers
22 views

Calling ASMX task based method with object parameter results in Unknown web method error

I have an async ASMX web method which works as expected when passing a simple string (I followed the excellent information provided by Stephen Cleary on this question Calling Task-based methods from ...
lukep's user avatar
  • 131
0 votes
2 answers
67 views

Question about synchronous ajax call in JS

With below code, what I was expecting is "diameter-selected" class to be added to the button and then to run the synchronous ajax calls. But, it seems that ajax calls run before the "....
Ugur Catak's user avatar
0 votes
0 answers
67 views

Google direction async call and waypoint limit

I need to create a webapp in php where I set a start point, an end point and some waypoint between the route. I don't need optimization of the route: I need to pass through cities using the order ...
itajackass's user avatar
0 votes
0 answers
40 views

Making asynchronous ajax requests rather than synchronous loops

I am requesting data by Ajax from an api which provides a long array of identity codes. Each of these codes is then used in the query string to request related data from a second api. I have done this ...
SteveAsh's user avatar
0 votes
1 answer
39 views

How to run the script after the load method of JQuery run?

I have a code that do a load in Jquery and loads a page and after this page has been loaded I have to execute some functions, but the functions is been runned before all the page has been loaded, ...
goiabinha's user avatar
1 vote
0 answers
46 views

The following error occurs during data registration, but the cause cannot be found

Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received // 発注登録 let orderRegister = document....
phoon weile's user avatar
0 votes
0 answers
41 views

Why does my jQuery calendar not display correctly

I have some code which collects data from a db, then gives a specific class (fc-closedDay) to a certain div if the day is closed in the database. Another part of the code gets the div with this ...
Sephirah's user avatar
2 votes
0 answers
142 views

Asynchronous Ajax Calls giving "Caution: request is not finished yet in chrome" when performing operation in Partial View Page

I have a HistoryController.cs, index.cshtml , some javascript code and three partial views. In index.cshtml I have three partial views in the form of tablist which are hidden at first. When I click a ...
rohan's user avatar
  • 81
0 votes
0 answers
31 views

How call async functions in Javascript [duplicate]

I have a problem with call async functions in Javascript. I have an internal application using Slim Framework and PHP. I want to call an async function using AJAX to access a PHP file to make an API ...
Tiago's user avatar
  • 1
0 votes
3 answers
54 views

How can I return correct value from function with multiple ajax requests? [duplicate]

I have a function and its have nested two ajax call. I want to return a value inside from second ajax call when ajax call is successed. i think because function ending but the ajaxs call still not end....
Alper Uluses's user avatar
0 votes
0 answers
30 views

Appending 3 images at once in HTML via HTTP GET request using Ajax

I'm trying to send an Ajax request for each image that needs to be added in my HTML. The way it works is that URL: "http://198.245.55.77/mars/camera.php has 10 images that we can get from by ...
Aydin's user avatar
  • 1
0 votes
1 answer
62 views

Why the page is reloaded if you don't use Ajax in JavaScript app?

I'm a Java developer and I'm learning frontend with JavaScript and React. And now I'm learning about Ajax. And I see that this Ajax is used to fetch data asynchronous from an API without refreshing ...
elvis's user avatar
  • 1,238
0 votes
0 answers
50 views

How do I send a jQuery AJAX request manually and do work while waiting for the response?

I have a screen where different data is loaded in when a user clicks on different buttons. The following code shows how this is implemented. $([SOME BUTTON]).click(()=>{ //Set up a loading ...
deltasxb's user avatar
0 votes
1 answer
52 views

Is there a synchronous version of the $.get() method? [duplicate]

Since the $.get() method is asynchronous, the getText() function wasn't able to get a return value in the time that the $.get() method finished running. Is there a similar method that's like a ...
frosty's user avatar
  • 2,679
0 votes
0 answers
68 views

How can Ajax wait for user input?

I tried to write a programm, which takes javascript input and passes it over to python via ajax. Somehow the programm just runs through without noticing the user input. This is the code I have written ...
noooooo's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
59