English 中文(简体)
替代外在超文本5中图像输入上的名词
原标题:Alternative to name attribute on image input in HTML5
  • 时间:2010-08-20 08:52:35
  •  标签:
  • html
  • input

超额5美元不包括图像投入的名称。

我正试图找到一种替代办法,以便我的服务器边验证检查能够确定哪一种以纽顿语提交的表格被点击。 任何人都可以提出建议。

最佳回答

它的确将名称列为两个变量,即:<代码>_x和_y。 http://www.boog Design.com/examples/forms2/test-image-buttons.html” rel=“nofollow noreferer”

<form action="collect.php" method="post">
  <label>Image button 1: <input type="image" src="Calvin5.gif" alt="calvin5" name="calvin5"></label><br>
  <label>Image button 2: <input type="image" src="Calvin6.gif" alt="calvin6" name="calvin6"></label><br>
</form>

在你点击第一顿时,将产生以下价值:

calvin5_x : 33
calvin5_y : 54 

在您的<代码>$POST中。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签