* comment *
* language *
JavaScript
JavaScript by Category
from http://www.editplus.com/files/javascript.zip
http://www.2y40.de/javaScriptReference.txt
cf http://www.mozilla.org/docs/dom/domref/dom_shortTOC.html
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide
http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
script
JavaScript Script Tags
Enclose script text in to protect '<', '&' etc
Otherwise use entities for these
.
OLD:
.
language can also be "JavaScript1.1", "JavaScript1.2"
The comment hides the script from browsers that
would otherwise treat the script as text.
* alias *
operators and expressions:
!
!=
!==
%
%=
&
&&
&=
()
*
*=
+
+=
++
-
-=
--
.
/
/=
<
<<
<<=
<=
==
===
>
>=
>>
>>=
>>>
>>>=
?
^
^=
|
|=
||
~
,
new
delete
void
typeof
instanceof
in
operators and expressions:
Operators and expressions:
Primaries:
this Identifier Literal Array-Literal Object-Literal ( expr )
l-values:
MemberExpr[expr] MemberExpr.Identifier MemberExpr(arglist)
new MemberExpr (arglist)
new NewExpression
postfix:
++ --
unaries: delete void typeof ++ -- + - ~ !
multiplicative: * / %
additive: + -
shift: << >> >>>
relational: < <= >= > instanceof in
equality: == === !== !=
bitwise-and: &
bitwise-xor: ^
bitwise-or: |
logical-and: &&
logical-or: ||
conditional: ?:
assignment: = *= /= %= += -= <<= >>= >>>= &= ^= |=
comma: ,
>>> is unsigned shift down (right-shift)
=== and !== are "strict" equality comparators - unless the left side is
undefined (=== is true in this case), return true if both sides are of the
same type and of equal value for numbers and strings, or both refer to the
same object. Otherwise, == and != will try numeric comparison for
number/string operands.
delete expr deletes a property from its owning object
void expr return undefined
typeof expr returns "undefined" for a non-existant property/object name, or
one of the results "undefined", "object", "boolean", "number", "string",
"function" - usually as appropriate: note that a Null valued expression will
have a typeof value of "object". Other implementation values may be returned
for platform supported objects.
instanceof tests whether an object was constructed with a particular function
object.
in tests whether a propery name is valid in an object.
* alias *
break and continue
break
continue
break and continue
break and continue
break [label] ;
continue [label] ;
break causes execution to leave an enclosing loop or switch statement.
continue causes the next iteration of an exclosing loop to occur.
The lable (if present) specifies which enclosing statement to break or continue.
.
These must be contained within a loop statement (or switch statement for break)
and if a label is used, the containing statement must be labelled, or be
contained within a labelled statement with the given label.
* alias *
switch statement
switch
case
default
switch statement
switch statement
switch ( expression ) case-block
where case-block is
{ opt-case-clauses [opt-default-clauses opt-case-clauses] }
and case-clause is
case expression : opt-statement-list
and default-clause is
default : opt-statement-list
If the switch expression's value matches a case expression, that case's
statement list is then executed, followed by any following ones until the
case-block is terminated or an interruption in execution (exception, return,
break or continue) occurs. If the expression cannot be found, execution resumes
at the statements of the default clause if any; otherwise execution resumes
after the case-block.
* alias *
labelled statement
:
label
labelled statement
labelled statement
identifier : statement
Adds the identifier to the set of labels of the statement. Loop statements
always have an implicit label (known as "empty") acting as the label for
enclosed break and continue statements.
.
It is an error to include a statement labelled with an identifier within a
statement labelled with the same identifier unless the inner instance is within
a function body.
function
function
* alias *
if statement
if
else
if statement
if statement
if ( expression ) statement else statement
if ( expression ) statement
the expression is converted using ToBoolean().
* alias *
loop statements
do
for
while
loop statements
loop statements
do statement while ( expression ) ;
while ( expression ) statement
for ( var variable-decl-list ; [expression] ; [expression] ) statement
for ( [expression] ; [expression] ; [expression] ) statement
for ( var variable-decl in expression ) statement
for ( lvalue-expr in expression ) statement
The for-in statement iterates through all properties in an object without the
DontEnum property; for arrays, only the numeric property values are accessed
(the indices).
return
return statement
return [expression] ;
A return statement must be enclosed within a function.
If no expression is given, the return value is the value undefined.
this
this
The current "this" object
throw
throw statement
throw [expression] ;
Throw the expression as an exception.
* alias *
try statement
try
catch
finally
try statement
try block catch-clause
try block finally-clause
try block catch-clause finally-clause
where catch-clause is
catch ( identifier ) block
and finally-clause is
finally block
If an exception occurs during the try block, and a catch clause is present, the
exception's value is bound to the variable whose identifier specified by the
catch clause; the catch block is then executed to handle the exception.
Execution continues to the finally block. If no catch clause was available, or
if one caused another exception, the (latest) exception will continue to be
available to be caught by enclosing run-time try contexts once the finally
block's execution has completed.
var
Variable statement
var Identifier [= expression] {, Identifier [= expression]};
Declares a set of variables with initial values; by default the variables are
set to undefined.
for ( var variable-decl-list ; [expression] ; [expression] ) statement
for ( var variable-decl in expression ) statement
Declares variables for the for-loop
with
with statement
with ( expression ) statement
Within statement, the properties of the object given by expression can be
accessed directly by their names (if of identifier format), masking any other
variables with the same identifiers.
function
function declaration and expression
function-declaration:
function identifier ( arg-identifier-list ) { function-body }
function-expression:
function opt-identifier ( arg-identifier-list ) { function-body }
The declaration adds a function object to the current variable object as a
property named for identifier. The expression returns an object with the
function as a DontDelet, ReadOnly property named for opt-identifier in the
object - if the identifier is missing, just return the function object.
.
Note that functions created as expressions do not have names and so cannot
invoke themselves recursively by name.
* alias *
Null Literal
Null
null
Null Literal
Null Literal
null
The only value of type Null
* alias *
Boolean Literals
true
false
Boolean Literals
Boolean Literals
true, false
The only values of type Boolean
* alias *
Numeric Literals
0
1
2
3
4
5
6
7
8
9
Infinity
NaN
Numeric Literals
Numeric Literals
Decimal: (0|[1-9][0-9]*)[.]([0-9]*)?(e[+-]?[0-9]+)?
[.][0-9]*(e[+-]?[0-9]+)?
(0|[1-9][0-9]*)([eE][+-]?[0-9]+)?
Hexadecimal: (0x|0X)([0-9a-fA-F]+)
Not-a-number: NaN
Infinities: [+-]?Infinity
Numbers are double-precision (64-bit) IEEE floating point values. Integers are
always treated as 32-bit signed or unsigned in expressions. The identifiers
NaN and Infinity designate variables whose values might be altered.
* alias *
String Literals
"
'
String Literals
String Literals
" double-quoted-string "
' single-quoted-string '
These cannot contain the quote character or backslash \ or newline but can
contain the escape sequences:
\' \" \\ \b \f \n \r \t \v -- code points x27 x22 x5C x08 x0C x0A x0D x09 x0B
\x[0-9a-fA-F][0-9a-fA-F] -- equivalent to \u00[0-9a-fA-F][0-9a-fA-F]
\u[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F] -- unicode code point
\0 -- null character code point x00
\ -- the character (but not newline)
NB a literal newline cannot be part of a string literal; use \n instead.
.
A string is of type String, and is made up of (Normalised Form C) UTF-16 Unicode
characters.
Regular Expression Literals
Regular Expression Literals
/ regular-expression-body / flags
Since // starts a comment, use /(?:)/ for an empty regular expression.
The parts regular-expression-body and flags are used as arguments to the
new RegExp
constructor.
See RegExp
* alias *
Undefined Type
Undefined
undefined
Undefined Type
Undefined Type
The only value of type Undefined is
undefined
This is the value of any variable to which no value has been assigned. Note that
the identifier undefined denotes a variable which might be reassigned.
* alias *
Object Type
Object
object
Object Type
Object Type
An unordered collection of properties, where a property consists of a name, a
value and a set of attributes:
ReadOnly - the property cannot be altered through ECMAScript code
DontEnum - the property name will not appear in a for-in enumeration
DontDelete - attempts to delete the property are ignored
Internal - the property has no name; it can only be used indirectly
* alias *
Type Conversion
ToPrimitive
ToBoolean
ToNumber
ToInteger
ToUint32
ToInt32
ToUint16
ToString
ToObject
Type Conversion
Type Conversion
ToPrimitive: for objects, the default value internal method is called with the
preferredType hint; non-object values (Undefined, Null, Boolean, Number and
String) remain unchanged,
ToBoolean:
Undefined, Null: undefined, null -> false
Boolean: any value -> unchanged
Number: NaN, +0, -0 -> false; otherwise true
String: "" -> false; otherwise true
Object: any value -> true
ToNumber:
Undefined: undefined -> NaN
Null: null -> +0
Boolean: false -> +0, true -> 1
Number: any value -> unchanged
String: if a number literal is found in the string (with leading or trailing
whitespace), then that number value; otherwise NaN
Object: result of ToNumber(ToPrimitive(object, number hint))
ToInteger:
r = ToNumber(number); if (r is NaN, +/-0, +/-Infinity) result is r
otherwise result is sign(r) * floor(abs(r))
ToUint32:
r = ToNumber(number); if (r is NaN, +/-0, +/-Infinity) result is 0
otherwise result is r % 2^32
ToInt32:
if number > 0 result is ToUint32(number) % 2^31
else result is ToUint32(number) % 2^31 - 2^32
ToUint16:
result is ToUint32(number) % 2^16
ToString:
Undefined: undefined -> "undefined"
Null: null -> "null"
Boolean: false -> "false", true -> "true"
Number: NaN -> "NaN", +/-0 -> "0", else if < 0, prefix "-" to abs(value);
infinity -> "Infinity", otherwise either a floating point or integer
formatted string (decimal)
String: any value -> unchanged
Object: result of ToString(ToPrimitive(object, string hint))
ToObject:
Undefined, Null: undefined, null -> throw a TypeError exception
Boolean, Number, String: create Boolean, Number, String object with
appropriate value internal property.
Object: any value -> unchanged
* alias *
Array Literal
[
]
Array Literal
Array Literal
[ comma-separated-expression-list-with-elisions ]
This creates and populates an array as if by the expression new Array().
For each expression, use the array's length as a property name to add the
expression's value as that property.
For each elision, increment the array's length by one (no equivalent property)
* alias *
Object Literal
{
}
Object Literal
Object Literal
{ comma-separated-property-name-expression-pair-list }
Each property-name-expression-pair is of the form
name: expression
where name can be an identifier, a string or numeric literal. If an identifier
is used as the name, it is converted into the equivalent string to form the
name. If a numeric literal is used, ToString is called to convert it to a string
first.
functions
eval(x) - parse string s then execute the result with same exception or return
outcome
parseInt(string, radix) - interpret string as an integer value to be interpreted
with radix upto 36 (digits 0-9, a-z, A-Z). If string starts with a '0',
treat the value as octal (may be overridden by radix); if it starts with '0x'
or 'OX', remove this prefix and force the radix to 16. If radix is undefined
(not supplied?) use 10 by default.
parseFloat(string) - interpret string as a floating point value.
isNaN(number) - return true if ToNumber(number) yields NaN.
isFinite(number) - return false if ToNumber(number) yields +/-Infinity.
decodeURI(encodedURI) - converts the string encodedURI consisting of
UTF-8 characters to internal UTF-16 format.
decodeURIComponent (encodedURIComponent) - converts the string encodedURI
consisting of escaped UTF-8 characters as ASCII-7 to internal UTF-16 format.
encodeURI(uri) - translate uri to UTF-8 encoding.
encodeURIComponent(uriComponent) - translate uriComponent to UTF-8 encoding.
* alias *
Future Reserved Words
abstract
boolean
byte
char
class
const
debugger
double
enum
export
extends
final
float
goto
implements
import
int
interface
long
native
package
private
protected
short
static
super
synchronized
throws
transient
volatile
public
Future Reserved Words
Future Reserved Words
abstract, boolean, byte, char, class, const, debugger, double, enum, export,
extends, final, float, goto, implements, import, int, interface, long, native,
package, private, protected, public, short, static, super, synchronized, throws,
transient, volatile
window
Base Window Items
window.defaultStatus
window.frames[]
window.length
window.name
window.opener
window.parent
window.self
window.status
window.top
window.alert("")
window.blur()
window.clearTimeout()
window.close()
window.confirm("")
window.focus()
window.open("", "")
window.prompt("", "")
window.scroll()
window.setTimeout()
history
Window History Items
history.length
history.back()
history.forward()
history.go()
location
Window Location Items
location.hash
location.host
location.hostname
location.href
location.pathname
location.port
location.protocol
location.search
location.reload()
window.location.replace("")
form
Form Items
document.form.action
document.form.elements[]
document.form.encoding
document.form.length
document.form.method
document.form.reset()
document.form.submit()
document.form.target
link
Link Items
document.link.hash
document.link.host
document.link.hostname
document.link.href
document.link.pathname
document.link.port
document.link.protocol
document.link.search
document.link.target
document.alinkColor
document.anchors[]
document
Base Document Items
document.anchors[]
document.bgColor
document.cookie
document.embeds
document.fgColor
document.form
document.forms[]
document.lastModified
document.linkColor
document.alinkColor
document.vlinkColor
document.link
document.links[]
document.location
document.referrer
document.title
document.clear()
document.close()
document.open()
document.write("")
document.writeln("")
frame
Frame Items
frame.frames
frame.name
frame.length
frame.parent
frame.self
frame.window
frame.blur()
frame.clearTimeout()
frame.focus()
frame.setTimeout()
navigator
Navigator Items
navigator.appCodeName
navigator.appName
navigator.appVersion
navigator.javaEnabled()
navigator.mimeTypes
navigator.plugins
navigator.userAgent
Date
Date Items
prototype
getDate()
getDay()
getHours()
getMinutes()
getMonth()
getSeconds()
getTime()
getTimezoneOffset()
getYear()
parse("")
setDate()
setHours()
setMinutes()
setMonth()
setSeconds()
setTime()
setYear()
toGMTString()
toLocaleString()
UTC()
Math
Math Items
Math.E
Math.LN2
Math.LN10
Math.LOG2E
Math.LOG10E
Math.PI
Math.SQRT1_2
Math.SQRT2
Math.abs()
Math.acos()
Math.asin()
Math.atan()
Math.ceil()
Math.cos()
Math.exp()
Math.floor()
Math.log()
Math.max()
Math.min()
Math.pow()
Math.random()
Math.round()
Math.sin()
Math.sqrt()
Math.tan()
String
String Items
length
prototype
anchor("")
big()
blink()
bold()
charAt()
fixed()
fontcolor("")
fontsize()
indexOf()
italics()
lastIndexOf()
link("")
small()
split()
strike()
sub()
substring()
sup()
toLowerCase()
toUpperCase()
all
all.dataSrc [MSJS MS4.0 read/write]
all.offsetWidth [MSJS MS4.0 readonly]
all.isTextEdit [MSJS MS4.0 readonly]
all.language [MSJS MS4.0 readonly]
all.offsetLeft [MSJS MS4.0 readonly]
all.lang [MSJS MS4.0 read/write]
all.offsetTop [MSJS MS4.0 readonly]
all.offsetParent [MSJS MS4.0 readonly]
all.tagName [MSJS MS4.0 readonly]
all.parentTextEdit [MSJS MS4.0 readonly]
all.className [MSJS MS4.0 read/write]
all.dataFormatAs [MSJS MS4.0 read/write]
all.dataFld [MSJS MS4.0 read/write]
all.outerHTML [MSJS MS4.0 read/write]
all.length [MSJS MS4.0 readonly]
all.title [MSJS MS4.0 read/write]
all.parentElement [MSJS MS4.0 readonly]
all.outerText [MSJS MS4.0 read/write]
all.innerHTML [MSJS MS4.0 read/write]
all.recordNumber [MSJS MS4.0 readonly]
all.dataPageSize [MSJS MS4.0 read/write]
all.id [MSJS MS4.0 readonly]
all.innerText [MSJS MS4.0 read/write]
all.offsetHeight [MSJS MS4.0 readonly]
all.sourceIndex [MSJS MS4.0 readonly]
all.getAttribute() [MSJS MS4.0]
all.click() [MSJS MS4.0]
all.insertAdjacentText() [MSJS MS4.0]
all.scrollIntoView() [MSJS MS4.0]
all.removeAttribute() [MSJS MS4.0]
all.setAttribute() [MSJS MS4.0]
all.contains() [MSJS MS4.0]
all.insertAdjacentHTML() [MSJS MS4.0]
anchors
anchors.name [DOM1.0 JS1.2 NN4.0 MS4.0 read/write]
anchors.text [DOM1.0 JS1.2 NN4.0 readonly]
anchors.length [DOM1.0 JS1.0 NN2.0 IE3.0 readonly]
anchors.x [JS1.2 NN4.0 readonly]
anchors.y [JS1.2 NN4.0 readonly]
applets.length [DOM1.0 JS1.0 NN2.0 IE3.0 readonly]
array
array.length [JS1.0 NN2.0 IE3.0 readonly]
array.slice() [JS1.2 NN4.0 MS4.0]
array.pop() [JS1.2 NN4.0 IE5.x]
array.shift() [JS1.2 NN4.0 IE5.x]
array.concat() [JS1.2 NN4.0 MS4.0]
array.push() [JS1.2 NN4.0 IE5.x]
array.unshift() [JS1.2 NN4.0 IE5.x]
array.splice() [JS1.2 NN4.0 IE5.x]
array.reverse() [JS1.1 NN3.0 MS4.0]
array.sort() [JS1.1 NN3.0 MS4.0]
array.join() [JS1.1 NN3.0 MS4.0]
date
date.getSeconds() [JS1.0 NN2.0 IE3.0]
date.toGMTString() [JS1.0 NN2.0 IE3.0]
date.getUTCMilliseconds() [JS1.3 NN4.x IE5.0]
date.getDay() [JS1.0 NN2.0 IE3.0]
date.getFullYear() [JS1.3 NN4.x IE5.0]
date.getUTCHours() [JS1.3 NN4.x IE5.0]
date.getMonth() [JS1.0 NN2.0 IE3.0]
date.setDate() [JS1.0 NN2.0 IE3.0]
date.getTime() [JS1.0 NN2.0 IE3.0 JS1.0 NN2.0 IE3.0]
date.setUTCMonth() [JS1.3 NN4.x IE5.0]
date.getYear() [JS1.0 NN2.0 IE3.0]
date.setUTCMinutes() [JS1.3 NN4.x IE5.0]
date.setSeconds() [JS1.0 NN2.0 IE3.0]
date.getUTCDay() [JS1.3 NN4.x IE5.0]
date.toLocaleString() [JS1.0 NN2.0 IE3.0]
date.setUTCDay() [JS1.3 NN4.x IE5.0]
date.parse() [JS1.0 NN2.0 IE3.0]
date.getUTCDate() [JS1.3 NN4.x IE5.0]
date.getUTCMinutes() [JS1.3 NN4.x IE5.0]
date.getMinutes() [JS1.0 NN2.0 IE3.0]
date.setHours() [JS1.0 NN2.0 IE3.0]
date.getDate() [JS1.0 NN2.0 IE3.0]
date.setFullYear() [JS1.3 NN4.x IE5.0]
date.UTC() [JS1.0 NN2.0 IE3.0]
date.getHours() [JS1.0 NN2.0 IE3.0]
date.setUTCHours() [JS1.3 NN4.x IE5.0]
date.getMilliseconds() [JS1.3 NN4.x IE5.0]
date.setUTCDate() [JS1.3 NN4.x IE5.0]
date.setMinutes() [JS1.0 NN2.0 IE3.0]
date.getTimezoneOffset()
date.setUTCFullYear() [JS1.3 NN4.x IE5.0]
date.getUTCFullYear() [JS1.3 NN4.x IE5.0]
date.getUTCMonth() [JS1.3 NN4.x IE5.0]
date.setUTCSeconds() [JS1.3 NN4.x IE5.0]
date.setUTCMilliseconds() [JS1.3 NN4.x IE5.0]
date.setMilliseconds() [JS1.3 NN4.x IE5.0]
date.setTime() [JS1.0 NN2.0 IE3.0]
date.setYear() [JS1.0 NN2.0 IE3.0]
date.getUTCSeconds() [JS1.3 NN4.x IE5.0]
document
document.charset [MSJS MS4.0 read/write]
document.defaultCharset [MSJS MS4.0 read/write]
document.alinkColor [JS1.0 NN2.0 IE3.0 read/write]
document.cookie [DOM1.0 JS1.0 NN2.0 IE3.0 read/write]
document.referrer [DOM1.0 JS1.0 NN2.0 IE3.0 readonly]
document.fgColor [JS1.0 NN2.0 IE3.0 read/write]
document.lastModified [JS1.0 NN2.0 IE3.0 readonly]
document.bgColor [JS1.0 NN2.0 IE3.0 read/write]
document.title [DOM1.0 JS1.0 NN2.0 IE3.0 readonly]
document.linkColor [JS1.0 NN2.0 IE3.0 read/write]
document.vlinkColor [JS1.0 NN2.0 IE3.0 read/write]
document.URL [DOM1.0 JS1.0 NN2.0 IE3.0 readonly]
document.createAttribute() [DOM1.0 JS1.5 NN6.x]
document.write() [DOM1.0 JS1.0 NN2.0 IE3.0]
document.getElementById() [DOM1.0 JS1.5 NN6.x IE5.x]
document.getSelection() [JS1.2 NN4.0]
document.open() [DOM1.0 JS1.0 NN2.0 IE3.0]
document.captureEvents() [JS1.2 NN4.0]
document.getElementsByTagName() [DOM1.0 JS1.5 NN6.x IE5.x]
document.handleEvent() [JS1.2 NN4.0]
document.routeEvent() [JS1.2 NN4.0]
document.createTextNode() [DOM1.0 JS1.5 NN6.x IE5.x]
document.close() [DOM1.0 JS1.0 NN2.0 IE3.0]
document.createElement() [DOM1.0 JS1.5 NN6.x IE5.x]
document.releaseEvents() [JS1.2 NN4.0]
document.getElementsByName() [DOM1.0 JS1.5 NN6.x IE5.x]
document.writeln()
elements
elements.form [JS1.0 NN2.0 IE3.0 readonly]
elements.name [JS1.0 NN2.0 IE3.0 read/write]
elements.defaultValue [JS1.0 NN2.0 IE3.0 read/write]
elements.type [JS1.0 NN2.0 IE3.0 readonly]
elements.checked [JS1.0 NN2.0 IE3.0 read/write]
elements.defaultChecked [JS1.0 NN2.0 IE3.0 read/write]
elements.value [JS1.0 NN2.0 IE3.0 read/write]
elements.focus() [JS1.0 NN2.0 IE3.0]
elements.blur() [JS1.0 NN2.0 IE3.0]
elements.handleEvent() [JS1.2 NN4.0]
elements.click() [JS1.0 NN2.0 IE3.0]
elements.select() [JS1.0 NN2.0 IE3.0]
embeds
embeds.width [JS1.1 NN3.0 IE5.0 readonly]
embeds.vspace [JS1.1 NN3.0 IE5.0 readonly]
embeds.name [JS1.1 NN3.0 IE5.0 readonly]
embeds.src [JS1.1 NN3.0 IE5.0 readonly]
embeds.type [JS1.1 NN3.0 IE5.0 readonly]
embeds.hspace [JS1.1 NN3.0 IE5.0 readonly]
embeds.length [JS1.1 NN3.0 IE5.0 readonly]
embeds.height [JS1.1 NN3.0 IE5.0 readonly]
event
event.x, event.y
event.keyCode [MSJS MS4.0 readonly]
event.modifiers [JS1.2 NN4.0 readonly]
event.which [JS1.2 NN4.0 readonly]
event.type [JS1.2 NN4.0 readonly]
forms
forms.method [JS1.0 NN2.0 IE3.0 read/write]
forms.name [JS1.0 NN2.0 IE3.0 read/write]
forms.target [JS1.0 NN2.0 IE3.0 read/write]
forms.encoding [JS1.0 NN2.0 IE3.0 read/write]
forms.length [DOM1.0 JS1.0 NN2.0 IE3.0 readonly]
forms.action [JS1.0 NN2.0 IE3.0 read/write]
forms.reset() [JS1.1 NN3.0 MS4.0]
forms.handleEvent() [JS1.2 NN4.0]
forms.submit() [JS1.0 NN2.0 IE3.0]
frames
frames.length [JS1.0 NN2.0 IE3.0 readonly]
function
function.arguments [JS1.1 NN3.0 MS4.0 readonly]
function.arity [JS1.2 NN4.0 readonly]
function.caller [JS1.1 NN3.0 MS4.0 readonly]
history
history.length [JS1.0 NN2.0 IE3.0 readonly]
history.forward() [JS1.0 NN2.0 IE3.0]
history.go() [JS1.0 NN2.0 IE3.0]
history.back() [JS1.0 NN2.0 IE3.0]
images
images.lowsrc [JS1.1 NN3.0 MS4.0 readonly]
images.width [JS1.1 NN3.0 MS4.0 read/write]
images.complete [JS1.1 NN3.0 MS4.0 readonly]
images.vspace [JS1.1 NN3.0 MS4.0 read/write]
images.name [JS1.1 NN3.0 MS4.0 readonly]
images.src [JS1.1 NN3.0 MS4.0 read/write]
images.hspace [JS1.1 NN3.0 MS4.0 read/write]
images.length [JS1.1 NN3.0 MS4.0 readonly]
images.height [JS1.1 NN3.0 MS4.0 read/write]
images.border [JS1.1 NN3.0 MS4.0 read/write]
images.handleEvent() [JS1.2 NN4.0]
layers
layers.background [JS1.2 NN4.0 read/write]
layers.zIndex [JS1.2 NN4.0 read/write]
layers.below [JS1.2 NN4.0 read/write]
layers.name [JS1.2 NN4.0 read/write]
layers.parentLayer [JS1.2 NN4.0]
layers.src [JS1.2 NN4.0 read/write]
layers.visibility [JS1.2 NN4.0 read/write]
layers.left [JS1.2 NN4.0 read/write]
layers.siblingAbove [JS1.2 NN4.0]
layers.bgColor [JS1.2 NN4.0 read/write]
layers.document [JS1.2 NN4.0]
layers.length [JS1.2 NN4.0 readonly]
layers.top [JS1.2 NN4.0 read/write]
layers.siblingBelow [JS1.2 NN4.0]
layers.pageX [JS1.2 NN4.0 read/write]
layers.above [JS1.2 NN4.0 readonly]
layers.pageY [JS1.2 NN4.0 read/write]
layers.clip [JS1.2 NN4.0 read/write]
layers.resizeTo() [JS1.2 NN4.0]
layers.moveToAbsolute() [JS1.2 NN4.0]
layers.moveBelow() [JS1.2 NN4.0]
layers.resizeBy() [JS1.2 NN4.0]
layers.captureEvents() [JS1.2 NN4.0]
layers.moveTo() [JS1.2 NN4.0]
layers.handleEvent() [JS1.2 NN4.0]
layers.routeEvent() [JS1.2 NN4.0]
layers.load() [JS1.2 NN4.0]
layers.moveAbove() [JS1.2 NN4.0]
layers.moveBy() [JS1.2 NN4.0]
layers.releaseEvents() [JS1.2 NN4.0]
links
links.name [DOM1.0 NN4.0 MS4.0 read/write]
links.target [DOM1.0 JS1.1 NN3.0 MS4.0 read/write]
links.text [DOM1.0 JS1.2 NN4.0 readonly]
links.length [DOM1.0 JS1.0 NN2.0 IE3.0 readonly]
links.x [JS1.2 NN4.0 readonly]
links.y [JS1.2 NN4.0 readonly]
location
location.protocol [JS1.0 NN2.0 IE3.0 read/write]
location.search [JS1.0 NN2.0 IE3.0 read/write]
location.hostname [JS1.0 NN2.0 IE3.0 read/write]
location.href [JS1.0 NN2.0 IE3.0 read/write]
location.port [JS1.0 NN2.0 IE3.0 read/write]
location.host [JS1.0 NN2.0 IE3.0 read/write]
location.pathname [JS1.0 NN2.0 IE3.0 read/write]
location.hash [JS1.0 NN2.0 IE3.0 read/write]
location.replace() [JS1.1 NN3.0 MS4.0]
location.reload() [JS1.1 NN3.0 MS4.0]
math
math.LOG2E [JS1.0 NN2.0 IE3.0 readonly]
math.E [JS1.0 NN2.0 IE3.0 readonly]
math.SQRT1_2 [JS1.0 NN2.0 IE3.0 readonly]
math.PI [JS1.0 NN2.0 IE3.0 readonly]
math.LN10 [JS1.0 NN2.0 IE3.0 readonly]
math.LOG10E [JS1.0 NN2.0 IE3.0 readonly]
math.LN2 [JS1.0 NN2.0 IE3.0 readonly]
math.SQRT2 [JS1.0 NN2.0 IE3.0 readonly]
math.atan() [JS1.0 NN2.0 IE3.0]
math.random() [JS1.0 NN2.0 IE3.0]
math.round() [JS1.0 NN2.0 IE3.0]
math.acos() [JS1.0 NN2.0 IE3.0]
math.max() [JS1.0 NN2.0 IE3.0]
math.min() [JS1.0 NN2.0 IE3.0]
math.tan() [JS1.0 NN2.0 IE3.0]
math.floor() [JS1.0 NN2.0 IE3.0]
math.ceil() [JS1.0 NN2.0 IE3.0]
math.asin() [JS1.0 NN2.0 IE3.0]
math.cos() [JS1.0 NN2.0 IE3.0]
math.abs() [JS1.0 NN2.0 IE3.0]
math.exp() [JS1.0 NN2.0 IE3.0]
math.log() [JS1.0 NN2.0 IE3.0]
math.sin() [JS1.0 NN2.0 IE3.0]
math.sqrt() [JS1.0 NN2.0 IE3.0]
math.pow() [JS1.0 NN2.0 IE3.0]
mimetypes
mimetypes.description [JS1.1 NN3.0 readonly]
mimetypes.enabledPlugin [JS1.1 NN3.0 readonly]
mimetypes.type [JS1.1 NN3.0 readonly]
mimetypes.suffixes [JS1.1 NN3.0 readonly]
mimetypes.length [JS1.1 NN3.0 readonly]
navigator
navigator.appVersion [JS1.0 NN2.0 IE3.0 readonly]
navigator.userAgent [JS1.0 NN2.0 IE3.0 readonly]
navigator.language [JS1.2 NN4.0 readonly]
navigator.cookieEnabled [JS1.3 NN6.0 MS4.0 readonly]
navigator.appName [JS1.0 NN2.0 IE3.0 readonly]
navigator.appCodeName [JS1.0 NN2.0 IE3.0 readonly]
navigator.platform [JS1.2 NN4.0 readonly]
navigator.javaEnabled() [JS1.1 NN3.0 MS4.0]
node
node.firstChild [DOM1.0 JS1.5 NN6.x IE5.x readonly]
node.nodeType [DOM1.0 JS1.5 NN6.x IE5.x readonly]
node.parentNode [DOM1.0 JS1.5 NN6.x IE5.x readonly]
node.data [DOM1.0 JS1.5 NN6.x IE5.x read/write]
node.previousSibling [DOM1.0 JS1.5 NN6.x IE5.x readonly]
node.attributes [DOM1.0 JS1.5 NN6.x readonly]
node.nodeValue [DOM1.0 JS1.5 NN6.x IE5.x read/write]
node.lastChild [DOM1.0 JS1.5 NN6.x IE5.x readonly]
node.childNotes
node.nextSibling [DOM1.0 JS1.5 NN6.x IE5.x readonly]
node.nodeName [DOM1.0 JS1.5 NN6.x IE5.x readonly]
node.getAttribute() [DOM1.0 JS1.5 NN6.x IE5.x DOM1.0 JS1.5 NN6.x]
node.removeChild() [DOM1.0 JS1.5 NN6.x IE5.x]
node.removeAttribute() [DOM1.0 JS1.5 NN6.x IE5.x DOM1.0 JS1.5 NN6.x]
node.cloneNode() [DOM1.0 JS1.5 NN6.x IE5.x]
node.insertBefore() [DOM1.0 JS1.5 NN6.x IE5.x]
node.setAttributeNode() [DOM1.0 JS1.5 NN6.x]
node.deleteData() [DOM1.0 JS1.5 NN6.x]
node.appendData() [DOM1.0 JS1.5 NN6.x]
node.hasChildNodes() [DOM1.0 JS1.5 NN6.x IE5.x]
node.replaceData() [DOM1.0 JS1.5 NN6.x]
node.setAttribute() [DOM1.0 JS1.5 NN6.x IE5.x]
node.insertData() [DOM1.0 JS1.5 NN6.x]
node.appendChild() [DOM1.0 JS1.5 NN6.x IE5.x]
node.removeAttributeNode()
node.getAttributeNode()
node.replaceChild() [DOM1.0 JS1.5 NN6.x IE5.x]
number
number.NaN [JS1.1 NN3.0 MS4.0 readonly]
number.MIN_VALUE [JS1.1 NN3.0 MS4.0 readonly]
number.NEGATIVE_INFINITY [JS1.1 NN3.0 MS4.0 readonly]
number.MAX_VALUE [JS1.1 NN3.0 MS4.0 readonly]
number.POSITIVE_INFINITY [JS1.1 NN3.0 MS4.0 readonly]
options
options.selected [JS1.0 NN2.0 IE3.0 read/write JS1.0 NN2.0 IE3.0 read/write]
options.defaultSelected [JS1.1 NN3.0 MS4.0 read/write]
options.text [JS1.0 NN2.0 IE3.0 read/write]
options.length [JS1.0 NN2.0 IE3.0 readonly]
options.value [JS1.0 NN2.0 IE3.0 readonly]
options.selectedIndex
plugins
plugins.description [JS1.1 NN3.0 readonly]
plugins.filename [JS1.1 NN3.0 readonly]
plugins.name [JS1.1 NN3.0 readonly]
plugins.length [JS1.1 NN3.0 readonly]
regexp
regexp.$ [1..9]
regexp.test() [JS1.1 NN3.0 MS4.0]
regexp.exec() [JS1.1 NN4.0 MS4.0]
screen
screen.colorDepth [JS1.2 NN4.0 MS4.0 readonly]
screen.pixelDepth [JS1.2 NN4.0 readonly]
screen.width [JS1.2 NN4.0 MS4.0 readonly]
screen.availWidth [JS1.2 NN4.0 MS4.0 readonly]
screen.availHeight [JS1.2 NN4.0 MS4.0 readonly]
screen.height [JS1.2 NN4.0 MS4.0 readonly]
string
string.length [JS1.0 NN2.0 IE3.0 readonly]
string.lastIndexOf() [JS1.0 NN2.0 IE3.0]
string.slice() [JS1.2 NN4.0 MS4.0]
string.fixed() [JS1.0 NN2.0 IE3.0]
string.italics() [JS1.0 NN2.0 IE3.0]
string.toUpperCase() [JS1.0 NN2.0 IE3.0]
string.strike() [JS1.0 NN2.0 IE3.0]
string.fromCharCode() [JS1.2 NN4.0 MS4.0]
string.split() [JS1.1 NN3.0 MS4.0]
string.charCodeAt() [JS1.2 NN4.0 MS4.0]
string.replace() [JS1.2 NN4.0 MS4.0]
string.match() [JS1.2 NN4.0 MS4.0]
string.toLowerCase() [JS1.0 NN2.0 IE3.0]
string.small() [JS1.0 NN2.0 IE3.0]
string.substring() [JS1.0 NN2.0 IE3.0]
string.bold() [JS1.0 NN2.0 IE3.0]
string.anchor() [JS1.0 NN2.0 MS4.0]
string.blink() [JS1.0 NN2.0 IE3.0]
string.big() [JS1.0 NN2.0 IE3.0]
string.sup() [JS1.0 NN2.0 IE3.0]
string.fontsize() [JS1.0 NN2.0 IE3.0]
string.substr() [JS1.0 NN2.0 MS4.0]
string.fontcolor() [JS1.0 NN2.0 IE3.0]
string.search() [JS1.2 NN4.0 MS4.0]
string.indexOf() [JS1.0 NN2.0 IE3.0]
string.concat() [JS1.2 NN4.0 MS4.0]
string.link() [JS1.0 NN2.0 IE3.0]
string.charAt() [JS1.0 NN2.0 IE3.0]
string.sub() [JS1.0 NN2.0 IE3.0]
style
style.getAttribute() [MSJS MS4.0]
style.removeAttribute() [MSJS MS4.0]
style.setAttribute() [MSJS MS4.0]
objectindependent
objectindependent.isFinite() [JS1.3 NN4.x MS4.0]
objectindependent.parseFloat() [JS1.0 NN2.0 IE3.0]
objectindependent.decodeURI() [JS1.5 NN6.0 IE5.x JS1.5 NN6.0 IE5.x]
objectindependent.isNaN() [JS1.1 NN3.0 MS4.0]
objectindependent.Number() [JS1.2 NN4.0 MS4.0]
objectindependent.decodeURIComponent()
objectindependent.String() [JS1.2 NN4.0 MS4.0]
objectindependent.eval() [JS1.0 NN2.0 IE3.0]
objectindependent.escape() [JS1.0 NN2.0 IE3.0]
objectindependent.encodeURI() [JS1.5 NN6.0 IE5.x JS1.5 NN6.0 IE5.x]
objectindependent.parseInt() [JS1.0 NN2.0 IE3.0]
objectindependent.encodeURIComponent()
objectindependent.unescape() [JS1.0 NN2.0 IE3.0]
window
window.locationbar [JS1.2 NN4.0 readonly]
window.defaultStatus [JS1.0 NN2.0 IE3.0 read/write]
window.closed
window.menubar [JS1.2 NN4.0 readonly]
window.name [JS1.0 NN2.0 IE3.0 read/write]
window.status [JS1.2 NN4.0 readonly JS1.0 NN2.0 IE3.0 read/write]
window.innerWidth [JS1.2 NN4.0 read/write]
window.personalbar [JS1.2 NN4.0 readonly]
window.pageXOffset [JS1.1 NN3.0 readonly]
window.toolbar [JS1.2 NN4.0 MS4.0 readonly]
window.outerWidth [JS1.2 NN4.0 read/write]
window.statusbar
window.pageYOffset [JS1.2 NN4.0 readonly]
window.scrollbars [JS1.2 NN4.0 readonly]
window.outerHeight [JS1.2 NN4.0 read/write]
window.innerHeight [JS1.2 NN4.0 read/write]
window.resizeTo() [JS1.2 NN4.0 MS4.0]
window.forward() [JS1.2 NN4.0]
window.enableExternalCapture() [JS1.2 NN4.0]
window.scrollTo() [JS1.1 NN3.0 MS4.0]
window.focus() [JS1.1 NN3.0 MS4.0]
window.setInterval() [JS1.2 NN4.0 MS4.0]
window.open() [JS1.0 NN2.0 IE3.0]
window.clearTimeout() [JS1.0 NN2.0 IE3.0]
window.disableExternalCapture() [JS1.2 NN4.0]
window.resizeBy() [JS1.2 NN4.0 MS4.0]
window.captureEvents() [JS1.2 NN4.0]
window.moveTo() [JS1.2 NN4.0 MS4.0]
window.blur() [JS1.1 NN3.0 MS4.0]
window.handleEvent() [JS1.2 NN4.0]
window.routeEvent() [JS1.2 NN4.0]
window.find() [JS1.2 NN4.0]
window.scrollBy() [JS1.2 NN4.0 MS4.0]
window.prompt() [JS1.0 NN2.0 IE3.0]
window.back() [JS1.2 NN4.0]
window.home() [JS1.2 NN4.0]
window.confirm() [JS1.0 NN2.0 IE3.0]
window.print() [JS1.2 NN4.0 IE5.0]
window.clearInterval() [JS1.2 NN4.0 MS4.0]
window.stop() [JS1.2 NN4.0]
window.close() [JS1.1 NN3.0 MS4.0 readonly JS1.0 NN2.0 IE3.0]
window.moveBy() [JS1.2 NN4.0 MS4.0]
window.setTimeout() [JS1.0 NN2.0 IE3.0]
window.releaseEvents() [JS1.2 NN4.0]
window.alert() [JS1.0 NN2.0 IE3.0]