81,094
社区成员
发帖
与我相关
我的任务
分享
<input type="submit" name="Submit1" value="提交" onClick="logonOper.submit();" style="cursor:hand;" class="button3">
.......
<script language="JScript">
<%@ include file="logon.js"%>
</script>
var logonOper = new LogonOPer();
function LogonOPer(){
/* 提交 */
this.submit = function(){
alert('ffff');}
}
<script language="JScript">
<%@ include file="logon.js"%>
</script>
<input type="submit" name="Submit1" value="提交" onClick="logonOper.submit();" style="cursor:hand;" class="button3">
.......
<script language="JScript">
<%@ include file="logon.js"%>
</script>
<script language="JScript">
<%@ include file="logon.js"%>
</script>
<input type="submit" name="Submit1" value="提交" onClick="logonOper.submit();" style="cursor:hand;" class="button3">
this.submit //???
//应该是这样把
document.forms[index].submit();
//当然这样写 就不需要new 了