What is the Use of true or false in Ajax cal using Java
Script?

Answer Posted / vicky

I believe the question is about Open
("Get/Post","url","async") method.

True : Asnynchronisation is on. We can carryon the
processing and must not wait for the result. We'll assign
the function to get data in onReadyStateChange.

False: Synchronous processing. We must wait for the result
for further processing.

Thanks,
VS

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different boolean operators in JavaScript?

549


How to get the contents of an input box using javascript?

608


What is the difference between "var" and "let" keywords?

602


What is difference between scripting and programming?

515


What is the purpose of local variables?

528






What is object freeze?

566


What is null in js?

586


What is the function of delete operator?

647


Why is javascript good for websites?

573


What is arguments object in JavaScript?

634


Which built-in method returns the index within the calling string object of the first occurrence of the specified value?

720


How long does it take to get good at javascript?

518


Write a program to exaplain the deferred scripts using event handlers in javascript.

535


What are the data types available in javascript? Explain

557


Is it safe to use javascript?

584