How to read data from web server in html5? i have used AJAX, in this connection to web server page is done using this condition is (xmlhttp.readyState==4 ). but fails if my condition is ( xmlhttp.readyState==4 && xmlhttp.status==200).
i have also used WebSocket to access web server but i can't able to do it. i have used this code (var ws = new WebSocket("http://localhost/Streamer/StartStream.aspx?IsTestData=true")

to access my web service.