阻止提交按钮重复提交数据
OnClientClick="this.disabled=true;this.form.submit();" UseSubmitBehavior="False"
禁用后退功能
<script language="javascript" type="text/javascript">
history.forward();
</script>
阻止按钮提交的操作:
例如:
<script language=javascript>
function BeforeSubmit()
{
//如果验证失败
event.returnValue = false
}
</script>
function BeforeSubmit()
{
//如果验证失败
event.returnValue = false
}
</script>
如果山不向我走来,我就向山走去!
![](http://www.cnblogs.com/Emoticons/baimantou/202015214.gif)