Current location: Hot Scripts Forums » General Web Coding » HTML5 » http connection in HTML5


http connection in HTML5

Reply
  #1 (permalink)  
Old 09-07-11, 07:58 AM
tejasagawane tejasagawane is offline
New Member
 
Join Date: Sep 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
http connection in HTML5

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.
Reply With Quote
Reply

Bookmarks

Tags
html5


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML5 Resources, Tutorials, Plugins 5ideas HTML5 2 10-20-10 06:01 AM
New HotScripts Category - HTML5 snaip The Lounge 0 06-01-10 03:55 AM
remove element from html form when posting to http RCGUA JavaScript 5 10-12-09 06:04 AM
ASP syntax error stuckonaproject ASP 8 12-14-04 10:30 AM
Closing a MySQL connection surebetdmg PHP 5 08-15-03 08:37 AM


All times are GMT -5. The time now is 10:20 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.