第一页的表单部分代码
<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>
<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
<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>
<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
解决方案 »
- 急寻针对技术人员的项目管理、架构设计方面的高级培训
- 这样的能力值多少钱
- 用XAMPP和EclipsePDT进行配置PHP开发环境的问题
- phpwind discuz dedecms哪个做网站比较快,不是做论坛
- 想找一下php程序,做个企业站,但是要能生成中英双语
- 求一个简单的正则
- 快来帮帮忙啊?十分着急啊 ?高手快来啊?php-excel_reader2.php都一天了也没搞定啊 ?
- 装了appserver 127.0.0.1可以访问,但用外网IP访问不了
- php json_encode加密后,有的汉字显示不出来 急
- GD库 英文偶有乱码
- mysql 数据库 数据莫名丢失,不知道是什么原因导致?
- AppServ 2.5.9下载后怎么也无法安装,求解答!
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
是type=image 那里出了问题。
浏览器接收这种参数再处理的时候,便多带出了两个参数