<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()" />