Changeset 697
- Timestamp:
- 01/25/07 12:20:12 (6 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
XinhaCore.js (modified) (1 diff)
-
modules/InternetExplorer/InternetExplorer.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r695 r697 5717 5717 5718 5718 Xinha.getXMLHTTPRequestObject = function() 5719 { 5719 { 5720 5720 try 5721 5721 { 5722 return new XMLHttpRequest(); 5722 if (typeof XMLHttpRequest == "function") 5723 { 5724 return new XMLHttpRequest(); 5725 } 5726 else if (typeof ActiveXObject == "function") 5727 { 5728 return new ActiveXObject("Microsoft.XMLHTTP"); 5729 } 5723 5730 } 5724 5731 catch(e) -
trunk/modules/InternetExplorer/InternetExplorer.js
r694 r697 400 400 return element.outerHTML; 401 401 }; 402 403 /** Get a new XMLHTTPRequest Object ready to be used.404 *405 * @returns object XMLHTTPRequest406 */407 408 Xinha.getXMLHTTPRequestObject = function () { return new ActiveXObject("Microsoft.XMLHTTP"); }
