javascript - Ajax function not working in any of IE version -


//ajax functions <script language="javascript">   function ajaxfunction(item) {     var type;     try {       type = new xmlhttprequest();     }     catch (f) {       try {         //xmlhttp=new activexobject("msxml2.xmlhttp");         type = new activexobject("msxml2.xmlhttp");       }       catch (f) {         try {           type = new activexobject("microsoft.xmlhttp");         }         catch (f) {           alert("your browser not support ajax!");           return false;         }       }     }     type.onreadystatechange = function () {       if (type.readystate == 4) {         document.getelementbyid('type_div').innerhtml = type.responsetext;       }     }     type.open("post", 'get_type.php?f=' + item, true);     type.send(null);   }  < /script> 


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -