日期:2014-05-17  浏览次数:20874 次

提示框问题,急??
1:
提示框选择     取消按钮后,没有取消

<Script   Language= "JavaScript ">
function   AffirmInfo(){
if   (confirm( "22 "))  
{
      myform.submit();
  }
else
      return   false;
  }
</Script>

<input   type= "submit "   value= "   &Igrave;á   &frac12;&raquo;   "   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