博客新地址

http://wyz.67ge.com/

发现IE8在提交表单时无法提交type=submit按钮本身!

<%response.Write request.Form%>

<form action="" method="post">
<input name="filedata" type="text" />

<input name="filedata" type="text" />
<input name="sub1" type="submit" value="第一个提交按钮" />
<input name="sum2" type="submit" value="第二个" />

</form>

看看上面的代码,在IE8下,如果点“第一个提交按钮”,再接收时,是无法输出其值的。也就是点那个提交按钮就无法接收到这个按钮的value

页面hand间加入<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
可解决此现象

posted @ 2009-05-06 22:43  yongzhi  阅读(3658)  评论(1编辑  收藏  举报

博客新地址

http://wyz.67ge.com/