SyntaxHTML <ELEMENT TYPE = sType... >
Scripting object.type [ = sType ] Possible ValuessType String that specifies or receives one of the input control values in Possible Values. button Creates a button control. checkbox Creates a checkbox for simple Boolean attributes or for attributes that can take multiple values at the same time. The input consists of a number of check box controls, each of which has the same name. Each selected check box generates a separate name/value pair in the submitted data, even if this results in duplicate names. The default value is on. file Creates a file upload object. hidden Creates a control hidden from the user, but the value of the value property is sent with the submitted form.
image Creates an image control that can be clicked, causing the form to be immediately submitted. The coordinates of the selected point are measured in pixels from the upper-left corner of the image and are submitted with the form as two name/value pairs. 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 image is specified by the src property, exactly as for the img object password Creates a control similar to the text control, except that text is not displayed as the user enters it.
radio Creates radio buttons used for mutually exclusive sets of values. Each radio button control in the group should be given the same name. Only the selected radio button in the group generates a name/value pair in the submitted data. Radio buttons require an explicit value property. reset Creates a button that resets the form's controls to their specified initial values. You can specify the label to display on this button just as you can for the Submit button. submit Creates a button that submits the form. Use the VALUE attribute to specify a label that is displayed on the button. The default label is application-specific. When the button is clicked, the associated control objects submit name/value pairs to the server. text Default. Creates a single-line text-entry control. Use the value in conjunction with the size and maxLength properties.
Scripting object.type [ = sType ] Possible ValuessType String that specifies or receives one of the input control values in Possible Values. button Creates a button control. checkbox Creates a checkbox for simple Boolean attributes or for attributes that can take multiple values at the same time. The input consists of a number of check box controls, each of which has the same name. Each selected check box generates a separate name/value pair in the submitted data, even if this results in duplicate names. The default value is on. file Creates a file upload object. hidden Creates a control hidden from the user, but the value of the value property is sent with the submitted form.
image Creates an image control that can be clicked, causing the form to be immediately submitted. The coordinates of the selected point are measured in pixels from the upper-left corner of the image and are submitted with the form as two name/value pairs. 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 image is specified by the src property, exactly as for the img object password Creates a control similar to the text control, except that text is not displayed as the user enters it.
radio Creates radio buttons used for mutually exclusive sets of values. Each radio button control in the group should be given the same name. Only the selected radio button in the group generates a name/value pair in the submitted data. Radio buttons require an explicit value property. reset Creates a button that resets the form's controls to their specified initial values. You can specify the label to display on this button just as you can for the Submit button. submit Creates a button that submits the form. Use the VALUE attribute to specify a label that is displayed on the button. The default label is application-specific. When the button is clicked, the associated control objects submit name/value pairs to the server. text Default. Creates a single-line text-entry control. Use the value in conjunction with the size and maxLength properties.
解决方案 »
- 初来乍到。小弟不懂JS。求这段代码兼容FF。求高手相助。谢谢。
- 生成WScript.Shell时,出现“Microsoft JScript 运行时错误: Automation 服务器不能创建对象”
- jquery 问题 bug?
- js怎样将排好序的数据怎样生成树型结构?
- 急!!!!!!! 在线求PhotoShop CS3的授权码
- html的超级链接怎样动态得到文本框的值做为参数?
- 求教:选项卡问题
- IE6下,javascript控制input获取焦点时突出显示,异常
- 问一个有难度的问题,急,急,急……
- 求一个图片滚动+鼠标悬浮显示DIV层的效果、、、
- 关于获得对象距离页面顶部的绝对距离
- JS如何验证表单中有相同名称的字段
<input type="radio"...>
<input type="textarea"...>