Shortest way to create an XMLHttpRequest object
Wednesday, March 14th, 2007
For best results use a framework - like jx
http = window.XMLHttpRequest ? new window.XMLHttpRequest : (window.ActiveXObject ? new ActiveXObject("MSXML2.XMLHTTP"): null);
Original Article
[tags]javascript,ajax,code,xhr[/tags]