第一页的表单部分代码
<form action="quote.php" id="getQuote" method="get" >
<div align="left" class="label" id="stname">Stname:</div>
<select name="stname" id="stname"><option value="">Choose State...</option>
<option value="01">st one</option>
<option value="02">st two</option>
</select>
<div class="clear"></div>
&nbsp;<input type="image" src="images/startquote.png" alt="start quote" onmouseover="this.src='images/startquotehover.png';" onmouseout="this.src='images/startquote.png';"/>
</form>在点击提交后,转到第二页的URL显示的 是  http://lifecape.com/quote.php?stname=01&x=33&y=14怎么会在URL中多出了鼠标点击坐标参数? 这个怎么在URL中去除呢?action鼠标点击  php

解决方案 »

  1.   

    用 post 方式就不显示在 url 中了
      

  2.   

    我看其他的都没有啊,我在firefox  chrome   和 IE下都有这个问题
      

  3.   

    ;<input type="image" 换成 <img src=""呢
      

  4.   

    ype=image 
    This is used for graphical submit buttons rendered by an image rather than a text string. The URL for the image is specified with the src attribute. The image alignment can be specified with the align attribute. In this respect, graphical submit buttons are treated identically to IMG elements, so you can set align to left, right, top, middle or bottom. The x and y values of the location clicked are passed to the server: In the submitted data, image fields are included as two name/value pairs. The names are derived by taking the name of the field and appending ".x" for the x value, and ".y" for the y value. 所以你最好用type='submit',或者直接在里边嵌套一个img
      

  5.   

    楼上说得对。
    是type=image 那里出了问题。
    浏览器接收这种参数再处理的时候,便多带出了两个参数