View Full Version : AJAX... need to explain xmlHttp.open
aasem
March 21st, 2007, 07:04 AM
Can anyone tell me about xmlHttp.open methed.. the third argument which boolean, what it specify?
borrob
March 21st, 2007, 07:41 AM
the third archument is the asynchron part. It tells the program if it should wait for the callbak method or that the process can proceed wihout waiting.
True means asynchron so it will not wait.
It's not advised to use a synchronious wait because when the server is down or proceesing takes a long time your program will 'hang'.
have fun
thebloodpoolkid
March 21st, 2007, 12:49 PM
the third archument is the asynchron part. It tells the program if it should wait for the callbak method or that the process can proceed wihout waiting.
True means asynchron so it will not wait.
It's not advised to use a synchronious wait because when the server is down or proceesing takes a long time your program will 'hang'.
So in other works always use "ture" for the third argument. (-:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.