This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I am using a xmlhttprequest object wherein i expect a readystate of 4 from the server.
I need to put a check wherein if I dont receive a readsystate of 4 in certain time(say 1 sec), i want to display a error message.