<script type="text/javascript">
function search()
{ alert("yes"); }
</script> <form name="search" method="post" action="">
<input type="text" name="key" value="这里输入关键字">
<input type="image" src="images/indexchaxun.gif" onclick="search()" >
</form>
点击图片的时候应该会弹出提示框啊,可是什么反应都没有,然后换下面的也不能弹出,请问是怎么回事?<img style="cursor: pointer;" src="images/indexchaxun.gif" width="72" height="25" border="0" onclick="search()" />
function search()
{ alert("yes"); }
</script> <form name="search" method="post" action="">
<input type="text" name="key" value="这里输入关键字">
<input type="image" src="images/indexchaxun.gif" onclick="search()" >
</form>
点击图片的时候应该会弹出提示框啊,可是什么反应都没有,然后换下面的也不能弹出,请问是怎么回事?<img style="cursor: pointer;" src="images/indexchaxun.gif" width="72" height="25" border="0" onclick="search()" />
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货