Hi i am new to ajax and i am little bit confused with the word asynchronous. why is the word asynchronous used for ajax? what is it not in sync with? somebody pls expalin me why the word asynchronous? and how is it justified in ajax? Thanking you in advance.
yaragalla_mural
0
Newbie Poster
Recommended Answers
Jump to PostAsynchronous just means that a call is made to e.g. a function, but that the code (next statement) won't wait until a response is received.
Jump to PostXMLHttpRequest can behave either synchronously or asynchronously, as determined by the third parameter in the line of the form
xmlhttp.open("GET", url, true);
.With synchronous behaviour, javascript execution is suspended (after sending the request) until the server responds. This is very similar to a regular function call in javascript, …
All 7 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
yaragalla_mural
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Alxandr
5
Junior Poster in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Airshow
416
WiFi Lounge Lizard
Team Colleague
yaragalla_mural
commented:
really good.
+2
yaragalla_mural
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.