Make Synchronous Calls Instead Of Asynchronous In Jquery Ajax Request
Here we consider how to make Synchronous Calls In Jquery Ajax Request.
This can be easily done by using async : false in Jquery Ajax Request.
Lets start with an example here.
For making an Ajax Request, we can write code as follows.
We have to refer 'jquery.min.js' on the page.
All you needs to do is place async : false for making Synchronous Calls.
On Code behibnd, add the Reference System.Web.Services on using statement.
Then add the following code.