ajax - xmlhttp not supporting in IE -


xmlhttp not supporting in ie ,actually had created 1 facebook app users can play game each other randomly,problem when want test it, login in facebook userid in firefox,and login brother facebook id in chrome connecting each other,do think beacuse of same ip address not connecting or not creating xmlhttprequest object ie , chrome....

function getxmlhttpobject() { var xmlhttp = null;

            try                 {                 // firefox, opera 8.0+, safari                 xmlhttp = new xmlhttprequest();                 }             catch (e)                 {                 //internet explorer                 try                     {                     xmlhttp = new activexobject("msxml2.xmlhttp");                     }                 catch (e)                     {                          xmlhttp = new activexobject("microsoft.xmlhttp");                      }                 }              return xmlhttp;             } 

you need post code trying run, can't based on vague description of problem.

one thing check trailing commas @ end of object lists, #1 thing break javascript in ie. example break ie not firefox/chrome because of comma @ end:

variable = ['one', 'two', 'three', ] 

Comments

Popular posts from this blog

sql server - python to mssql encoding problem -

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -