HTML and CSS Reference
In-Depth Information
JavaScript Element
Description
RangeError
An Error object indicating that a number is out of its defined range; created
using one of the following constructors
new RangeError()
new RangeError( message )
where message is the text of the range error message
Properties
message
The text string of the error message
name
The name of the range error
ReferenceError
An Error object indicating that a referenced variable does not exist; created
using one of the following constructors
new ReferenceError()
new ReferenceError( message )
where message is the text of the reference error message
Properties
message
The text string of the error message
name
The name of the reference error
RegExpƒ
A regular expression object used for pattern matching; created using the
object literal
/pattern/attributes
or the constructor
RegExp( pattern , attributes )
where pattern is a text string that specifies the character pattern and
attributes is attributes that define the global properties of the pattern
Properties
global
A Boolean specifying whether to use a global pattern match
ignoreCase
A Boolean specifying whether to ignore case in the search string
input
The search string
lastIndex
The index at which to start matching the next string
lastMatch
The last matched characters
lastParen
The last parenthesized substring match
leftContext
The substring preceding the most recent match
multiline
A Boolean specifying whether to search on multiple lines
rightContext
The substring following the most recent match
source
The string pattern
Methods
compile()
Compiles a regular search expression
exec( string )
Executes the search for a match to string
test( string )
Tests for a match to string
Resetƒ
A reset button in a Web form
Properties
accessKey
The hotkey that gives the element focus
align
The alignment of the element, for example, “right”
alt
The alternative text for the button
defaultValue
The initial value of the button
disabled
A Boolean indicating whether the element is disabled
form
The name of the form containing the reset button
Search WWH ::




Custom Search