form.submit(); 对像不支持些属性 找不到成员

楼主
form.submit(); 对像不支持些属性 找不到成员
Microsoft JScript 运行时错误: 对象不支持此属性或方法 [P] <script language="javascript"> [/P][P][/P][P] [/P][P][/P][P]function __doPostBack(eventTarget, eventArgument) {[/P][P]var theform;[/P][P]if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {[/P][P]theform = document.forms["releasead"];[/P][P]}[/P][P]else {[/P][P]theform = document.releasead;[/P][P]}[/P][P]theform.__EVENTTARGET.value = eventTarget.split("$").join(":");[/P][P]theform.__EVENTARGUMENT.value = eventArgument;[/P][P]theform.submit(); //////////////////////////////提示这里出错[/P][P]}[/P][P] [/P][P]</script>  [/P][P]=============================================[/P][P]原来是表单里也有一个控件取了名“submit”,改过来就好了命名重复[/P]
1楼
好!楼主给力啊!

电脑版 Page created in 0.0469 seconds with 3 queries.