This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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.