HTML and CSS Reference
In-Depth Information
JavaScript Element
Description
keys( object )
Returns an array of property names for object
toLocaleString()
Returns a string representation of the object as appropriate for the current locale
preventExtensions( object )
Sets the extensible property of object to false so that no new properties can be
added to it
propertyIsEnumerable
( propname )
Returns true if the object has a noninherited property named propname
seal( object )
makes all of the properties of object non-configurable
toString()
Returns a string representation of the object
valueOf()
Returns the value associated with the object
Optionƒ
An option from a selection list
Properties
defaultSelected
A Boolean indicating whether the option is selected by default
disabled
A Boolean indicating whether the element is disabled
form
The form containing the selection list option
index
The index value of the option
label
The alternate text for the option as specified in the label attribute
selected
A Boolean indicating whether the option is currently selected
text
The text of the option as it appears on the Web page
value
The value of the option
PageTransitionEvent
An Event object for pageshow and pagehide events
Properties
persisted
A Boolean indicating whether the page was loaded or reloaded from the network
Paramƒ
A parameter from an embedded object or applet
Properties
name
The name of the parameter
type
The type of the value when valueType is “ref”
value
The value of the parameter
valueType
More information about how to interpret value; usually “data”, “ref”, or “object”
Passwordƒ
A password field in a Web form
Properties
defaultValue
The default password
name
The name of the password field
type
The type value of the password field
value
The value of the password field
Methods
focus()
Gives the password field the focus
blur()
Leaves the password field
select()
Selects the password field
Pluginƒ
A plug-in object in the Web page
Properties
description
The description of the plug-in
filename
The plug-in filename
length
The number of MIME types supported by the plug-in
name
The name of the plug-in
Search WWH ::




Custom Search