disable
disable
(
)
disables a HTMLElement if its a form element by setting the disabled attribute to true
disableTextSelection
void
disableTextSelection
(
)
cross-browser method for disabling the text selection by setting css attributes
- Returns:
void
enable
boolean
enable
(
)
enables a HTMLElement if its a form element by setting the disabled attribute to false
- Returns:
boolean - true, if element could be enabled
setSlidingDoors
setSlidingDoors
(
count
,
type
,
prefix
)
generates the markup used by sliding doors css technique to use with this element
- Parameters:
-
count <object> -
type <object> -
prefix <object>
toggleDisabled
boolean
toggleDisabled
(
)
enables or disabled a HTMLElement if its a form element depending on it's current state
- Returns:
boolean - true, if element could be toggled