-moz-user-input property
Specifies whether the element can have the input focus.
Typically used for input elements to enable or disable them.
This property is the same as the user-input property in the CSS3 declaration.
Use the READONLY attribute instead.
Use the READONLY attribute instead.
JavaScript page for this property: MozUserInput. You can find other example(s) there. |
Possible values:
One of the following values:
Default. Use the element's default behavior for user-input behavior. | |||||||
Element is disabled and will not respond to user input. | |||||||
Element can respond to user input. | |||||||
Takes the value of this property from the computed style of the parent element. | |||||||
The element is considered to be neither enabled nor disabled. |
Default: auto.
Example HTML code 1:
This example illustrates the use of the -moz-user-input property:
|
||||
<head> <style> .example { -moz-user-input: disabled; } </style> </head> <body> <textarea class="example">The user is not able to change this text.</textarea> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, b, bdo, big, blink, blockQuote, body, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, fieldSet, font, form, H1, H2, H3, H4, H5, H6, html, i, ins, isIndex, kbd, label, legend, li, marquee, menu, ol, optGroup, option, p, pre, s, samp, small, span, strike, strong, sub, sup, table, td, textArea, th, tr, tt, u, ul, var
Related pages:
External links:
User Contributed Comments