<input type='image' src="xxx.gif" style="cursor:hand">

解决方案 »

  1.   

    回车即确定,与所插入的提交按钮无关.
    只要单行文本框在<form>...</form>之内,回车即可提交
      

  2.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=shift_jis" />
    <title>Untitled Document</title>
    <script>
    function a(){
    alert("aaaa");
    }
    </script>
    </head><body>
    <form method="get" onkeydown = "if(event.keyCode==13) a();">
    <table>
    <img src="images\icon_crown.gif">
    </table>
    </form>
    </body>
    </html>
      

  3.   

    <meta http-equiv="Content-Type" content="text/html; charset=shift_jis" />
    ---------------------------------------
    楼上的,你是对日开发??
      

  4.   

    charset=shift_jis 是 指定日文字符集