Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var xmlHttp = false;
- /*@cc_on @*/
- /*@if (@_jscript_version >= 5)
- try {
- xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
- } catch (e) {
- try {
- xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
- } catch (e2) {
- xmlHttp = false;
- }
- }
- @end @*/
- if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
- xmlHttp = new XMLHttpRequest();
- }
Add Comment
Please, Sign In to add comment