View Single Post
Old 08-29-2012, 05:57 PM   PM User | #2
sunfighter
Senior Coder

 
Join Date: Jan 2011
Location: Missouri
Posts: 2,383
Thanks: 18
Thanked 350 Times in 349 Posts
sunfighter is on a distinguished road
Your problem is this:
Code:
xmlhttp.open("GET",url,false);
From W3school:

Quote:
Using async=false is not recommended, but for a few small requests this can be ok.

Remember that the JavaScript will NOT continue to execute, until the server response is ready. If the server is busy or slow, the application will hang or stop.
sunfighter is offline   Reply With Quote