diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


XMLHttpRequest W3C Working Draft

The W3C announced that they would standardize the de-facto XHR object and the first draft has been released.

What does this mean for us? Well, it gives you some documentation, has a few hints from editors on curent implementation notes, and let’s us know that new XMLHttpRequest() will be the way to do things in the future (as it almost is with IE7 coming on board etc).

// The following script: var r = new XMLHttpRequest(); r.open('get', 'demo.cgi'); r.setRequestHeader('X-Test', 'one'); r.setRequestHeader('X-Test', 'two'); r.send(null); // ...would result in the following header being sent: ... X-Test: one, two ...
[Source: ajaxian.com]
Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...