Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- testXMLHttpRequest: function(){
- var xhr;
- try {
- xhr = new ActiveXObject('Msxml2.XMLHTTP');
- }catch (err2) {
- try {
- xhr = new ActiveXObject('Microsoft.XMLHTTP');
- }catch (err3) {
- try {
- xhr = new XMLHttpRequest();
- }
- catch (err1)
- {
- return false;
- }
- }
- }
- return xhr;
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement