定义
创建一个图像控件,该控件被点击后将导致表单立即被提交。
Creates an image control that, when clicked, causes the form to be immediately submitted.
注释
x 坐标将以控件名称后加 .x 提交,y 坐标将以控件名称后加 .y 提交。任何 value 属性都将被忽略。src 属性指定了 IMG 元素。
从 Internet Explorer 5 起支持下列图像和视频文件格式。
.avi
.bmp
.emf
.gif
.jpg, .jpeg
.mov
.mpg, .mpeg
.png
.wmf
.xbm
此元素在 Internet Explorer 3.0 及以上版本的 HTML 和脚本中可用。
此元素是一个内嵌元素。
此元素不需要关闭标签。
The x-coordinate is submitted under the name of the control with .x appended, and the y-coordinate is submitted under the name of the control with .y appended. Any value property is ignored. The src property specifies the IMG element.
The following image and video file formats are supported as of Internet Explorer 5.
.avi—Audio-Visual Interleaved (AVI)
.bmp—Windows Bitmap (BMP)
.emf—Windows Enhanced Metafile (EMF)
.gif—Graphics Interchange Format (GIF)
.jpg, .jpeg—Joint Photographic Experts Group (JPEG)
.mov—Apple QuickTime Movie (MOV)
.mpg, .mpeg—Motion Picture Experts Group (MPEG)
.png—Portable Network Graphics (PNG)
.wmf—Windows Metafile (WMF)
.xbm—X Bitmap (XBM)
The INPUT type=image element is available in HTML and script as of Internet Explorer 3.0.
This element is an inline element.
This element does not require a closing tag.
示例代码
<form action="http://
HTML元素 - input type=image
原创文章如转载,请注明:转载自悠悠博客 [ http://www.ajaxstu.com/ ]
相关文章:
- onsubmit="return false;"(2007-10-25 4:0:0)
- 限制TextArea区的文字输入数量(2007-9-26 6:30:36)
- ASP表单与用户输入区域(2007-8-7 1:27:35)
- 可编辑的SELECT(2007-7-5 9:14:19)
- 简单的表单验证(后台验证)(2007-7-3 4:27:19)
- ASP连动下拉列表从数据库读取(2007-6-20 1:45:55)
- HTML元素 - input type=hidden(2007-6-15 1:57:14)
- 使用ASP与JAVASCRIPT配合实现多个复选框数据关联显示(2007-5-12 10:14:57)
- 表单:按钮(2007-5-1 1:30:30)
- 高级表单验证-针对多次提交表单(2007-4-20 1:59:42)
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。
