javascript Obj_Button type
@March 15, 2008, 1:22 a.m.
type | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
Read-only | |
Specifies whether the button element is specified as a button, reset, or submit style button. |
|
Example | |
if (evt.target.type == "button") { // process button element } |
|
Value | |
One of the three constants (as a string): button | reset | submit. |
|
Default | |
button |
Permanent URL:
http://javascript.gakaa.com/obj-1-button-type.aspx
Powered by Linode.