JavaScript Programmer’s Reference Button.type (Property) (Web and email hosting) The type value

JavaScript Programmer’s Reference Button.type (Property) The type value for the object. Availability: DOM level 1 JavaScript 1.1 JScript 1.0 Internet Explorer 3.02 Netscape 3.0 Opera 3.0 Property/method value type: String primitive JavaScript syntax: -myButton.type HTML syntax: The value of this property will be “button” when the HTML tag describes a form Button object. See also: Input.type Property attributes: ReadOnly. Button.value (Property) The text string displayed in the button. Availability: DOM level 1 JavaScript 1.0 JScript 1.0 Internet Explorer 3.02 Netscape 2.0 Opera 3.0 Property/method value type: String primitive JavaScript syntax: -myButton.value The value of a button is also used to place a legend into the button image on screen. Warnings: . This property may be changed on some platforms, but not others. See also: Input.value

Leave a Reply