提示框问题,急??
1:
提示框选择 取消按钮后,没有取消
<Script Language= "JavaScript ">
function AffirmInfo(){
if (confirm( "22 "))
{
myform.submit();
}
else
return false;
}
</Script>
<input type= "submit " value= " Ìá ½» " name= "B1 " OnClick= "AffirmInfo() ">
2 ie 退出的提示也是那个问题
<script language= "vbscript ">
function myclose()
dim msgvar
msgvar=msgbox( "22 ",vbokcancel+vbinformation+vbdedaulftbutton, "33 " )
if msgvar=1 then
return true
else
return false
end if
end function
</script>
------解决方案-------------------- <input type= "button