2008-10-20 16:15:14 / JavaScript & VBScript & DHTML 脚本技术讨论版
今天尝试将js中加入firefox支持,发现一些问题代码如下,初始化xmlhttp跟$的就不写了//init factory combo boxfunction initFactory() {var url_path;url_path = "scripts/init_factory.asp";if (isIE > -1)xmlHttp.open("GET",url_path,false);else if (isFirefox > -1) {xmlHttp.open("GET",url_path,true);}elsereturn;xmlHttp.onreadystatechange = handleFactory;xmlHttp.send(null);//reset chkFactory checked$("chkFactory").checked = true;}//init section
查看(347)
评论(5)