一个JS在IE6.0正常到了IE7中就不能用了! load("checkname.asp?username="+escape(username)); 中的load是啥?另外,建议在.net环境下测试为准。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 点 按钮 页面没反应 IE6 就直接去checkname.asp页面 检查用户名了 换个跳转方式呢?比如用:window.location.href=""; lode 不是跳转方法是加载用下面的代码跳转! window.location.href="checkname.asp?username="+escape(username); <html><head> <title>Popup Example</title> <style>.userData {behavior:url(#default#userdata);}</style> <script>function fnLoad(){ oPersistInput.load("oDataStore"); oPersistInput.value=oPersistInput.getAttribute("sPersistAttr");}function fnSave(){ oPersistInput.setAttribute("sPersistAttr",oPersistInput.value); oPersistInput.save("oDataStore");} </script></head><body> <input type="text" class="userData" id="oPersistInput"> <input type="button" value="Load Attribute" onclick="fnLoad()"> <input type="button" value="Save Attribute" onclick="fnSave()"></body></html> 用load方法是为了加载用户的一些信息吗? 在什么样的环境下?<INPUT name=UserName size=15 id='UserName' maxLength=14 onchange="javascript:checkname();"> 这个是用点的?点了没反应?type默认是text。。你也没设置onclick,怎么点... load 应该是JS中的一个方法,只是LZ没贴出来吧 iframe标签中显示客户端htm文件问题 javascript正则 js报错,大家帮帮小妹,谢谢 WINDOWS关机效果如果做? 100分,提示缺少函数,还请帮忙 JAVASCRIPT中哪个函数可以将数值转化成字符串,并保留2位小数? 求助:如何判断一个ActiveXObject对象是否创建? 不查注册表,使用什么工具获得注册控件的clsid? 散-------------分 求助:requirejs配置不起作用 80分求同一个TD下面如何获取第二个节点值 input type=text 控件光标问题,不是鼠标问题哈,请高手来看看
用下面的代码跳转! window.location.href="checkname.asp?username="+escape(username);
<html>
<head>
<title>Popup Example</title>
<style>
.userData {
behavior:url(#default#userdata);
}
</style> <script>
function fnLoad(){
oPersistInput.load("oDataStore");
oPersistInput.value=oPersistInput.getAttribute("sPersistAttr");
}
function fnSave(){
oPersistInput.setAttribute("sPersistAttr",oPersistInput.value);
oPersistInput.save("oDataStore");
}
</script></head>
<body>
<input type="text" class="userData" id="oPersistInput">
<input type="button" value="Load Attribute" onclick="fnLoad()">
<input type="button" value="Save Attribute" onclick="fnSave()">
</body>
</html>
在什么样的环境下?<INPUT name=UserName size=15 id='UserName' maxLength=14 onchange="javascript:checkname();">
这个是用点的?点了没反应?
type默认是text。。你也没设置onclick,怎么点...