Originally Posted by Dormilich
you donít need to, the XMLHttpRequest object already waits for that (thatís why you have a readystatechange event).
The ready state change is triggered when ever the state changes, not just when it changes to 4 (although some browsers don't use 1, 2, and 3
Values it can have are:
Helping others to solve their computer problem at http://www.felgall.com/