页面刷新时这个onsubmit会触发吗?
<html:form action= "/Action.do " method= "post " onsubmit= "return aaa(); ">
function aaa()
{
alert( "pp ");
return false;
}
刷新时怎么没反应?
------解决方案--------------------有错误,仔细看看!
------解决方案--------------------刷新不是submit
------解决方案-------------------- 页面刷新时这个onsubmit 不 会触发.
onsubmit是对应提交按钮
------解决方案-------------------- <body onload= "aaa(); ">