这种图片按钮怎么在点击一次之后让按钮隐藏  js部分怎么写  谢谢<input type="image" id="t<?=$row_Recordset1['guestID']?>" src="images/shian.gif" width="22" height="20" align="right" onclick="aaa('<?=$row_Recordset1['guestID']?>')"/>

解决方案 »

  1.   


    <input type="image" onclick="this.style.display = 'none';" src="http://list.image.baidu.com/t/image_category/image_funny_files/funny_egaosucai04.jpg"/>
      

  2.   


    onclick="this.style.display = 'none';" 
      

  3.   

    谢谢  行是行了  不过有个奇怪的现象  我改成
    <input type="image" id="t <?=$row_Recordset1['guestID']?>" src="images/shian.gif" width="22" height="20" align="right" onclick="aaa(' <?=$row_Recordset1['guestID']?>');this.style.display = 'none';"/>
    后  每次点击按钮都能隐藏  但是数据库的数据有时改有时没变化  这是怎么回事