用过<input type="image">么

解决方案 »

  1.   

    多谢各位,我问题是解决了,用了如下的方法
     echo '   <img src="../images/send.gif" name="send" onclick="compose.submit()" value="'. _("Send") . '" />' . "\n";
     echo '    <input type="hidden" src="../images/send.gif" name="send" value="'. _("Send") . '" />' . "\n";
    以上来浪两句代码跟
    echo ' <input type="submit" name="send" value="'. _("Send") . '" />' . "\n";同一个效果,但我不知道为什么,哪位可以帮我解释一下,我觉得光下面一句就应该可以了的啊
    echo '<img src="../images/send.gif" name="send" onclick="compose.submit()" value="'._("Send") . '" />' . "\n";
      

  2.   

    <img>标签里面加个value有什么用?!你以为你一厢情愿的加上一个value的属性它就会被提交给服务器吗?! syre(神仙) 给你的回复你看见了没有?!要么就别提问,提问了别人给你回复你就认真看看!
      

  3.   

    不好意思,楼上的大哥,神仙的答案我用过的,但是用ie打开的时候跟我用 echo ' <img src="../images/send.gif" name="send" onclick="compose.submit()" value="'. _("Send") . '" />' . "\n";是同样的效果,而在firefox里是可以了的,不知道为什么
      

  4.   

    你看清syre到底说的是什么标签吗?拜托你不要继续用<img>标签了,尝试一下<input type="image">吧
      

  5.   

    这位大哥还是没清楚我的意思,我是用了<input type="image">,但是他无法把value这个属性值提交啊