About recently studying some experience in XMLHTTP

xiaoxiao2021-03-06  39

I have recently studied XMLHTTP, or is still very interesting. I like to run normal in IE6 and Firefox, and the background is Dom4j to analyze.

Download

http://webfx.eae.net/dhtml/xmlexTras/xmlextras.zip

Package, there is a XMLEXTRAS.JS inside, take it out, I am used to generate an XMLHTTP object.

2. Plus the following code in XMLEXTRAS.JS: // Check Browsersvar UA = Navigator.USERAGENT; VAR Opera = / Opera [56789] | Opera // [56789] /i.test (ua); var IE =! Opera && / msie [56789] /I.test (ua); // preventing Opera to be identified as xivar mozilla =! Opera &&mozilla//[56789]/i.test (ua); // preventing Opera to be identified AS MZ / * END BROWSER CHECKS * /

转载请注明原文地址:https://www.9cbs.com/read-65244.html

New Post(0)