Posted By

KernelPanic on 07/10/06


Tagged

browser XMLHttpRequest Switch


Versions (?)

Who likes this?

11 people have marked this snippet as a favorite

Taleamus
kgosser
jacksont123
vali29
SpinZ
cjwilburn
ckayra
seanpowell
allproweb
guo3823538
wirenaught


XMLHttpRequest


 / Published in: JavaScript
 

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: MichaelM on October 13, 2009

Alternatively I prefer a more cut down method:

var xhr = window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP"),

You need to login to post a comment.