Revision: 11757
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 17, 2009 12:19 by jlvallelonga
Initial Code
function getHTTPObject() { var xmlhttp; /*@cc_on @if (@_jscript_version >= 5) try { xmlhttp = new ActiveXObject("Msxml2.ServerXMLHTTP.3.0"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } } @else xmlhttp = false; @end @*/ if (!xmlhttp && typeof XMLHttpRequest != 'undefined') { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp = false; } } return xmlhttp; }
Initial URL
Initial Description
this funciton returns an XMLHttpRequest object for use in ajax pages
Initial Title
get http object
Initial Tags
http, ajax, object
Initial Language
JavaScript