T
he following table lists each object and its properties, methods, and event
handlers. Note that all objects have the eval, toString, and valueOf
methods.
|
OBJECT | PROPERTIES | METHODS | EVENT HANDLERS |
---|---|---|---|
Anchor |
none |
none |
none |
anchors array |
length |
none |
none |
Applet |
none |
All public methods of the applet |
none |
applets array |
length |
none |
none |
Area |
hash host hostname href pathname port protocol search target |
none |
onMouseOut onMouseOver |
Array |
length prototype |
join reverse sort |
none |
Button |
form name type value |
click |
onClick |
Checkbox |
checked defaultChecked form name type value |
blur click focus |
onBlur onClick onFocus |
Date |
prototype |
getDate getDay getHours getMinutes getMonth getSeconds getTime getTimezoneOffset getYear parse setDate setHours setMinutes setMonth setSeconds setTime setYear toGMTString toLocaleString toString UTC valueOf |
none |
document |
alinkColor Anchor anchors Applet applets Area bgColor cookie domain embeds fgColor Form forms Image images lastModified linkColor Link links referrer title URL vlinkColor |
close open write writeln |
none |
FileUpload |
form name type value |
blur focus |
onBlur onChange onFocus |
Form |
action Button Checkbox elements encoding FileUpload Hidden length method name Password Radio Reset Select Submit target Text Textarea |
reset submit |
onReset onSubmit |
forms array |
length |
none |
none |
Frame |
frames name length parent self window |
blur clearTimeout focus setTimeout |
onBlur onFocus |
frames array |
length |
none |
none |
Hidden |
name type value |
none |
none |
history |
current length next previous |
back forward go |
none |
history array |
length |
none |
none |
Image |
border complete height hspace lowsrc name prototype src vspace width |
none |
onAbort onError onLoad |
images array |
length |
none |
none |
Link and Area |
hash host hostname href pathname port protocol search target |
none |
onClick onMouseOut onMouseOver |
links array |
length |
none |
none |
location |
hash host hostname href pathname port protocol search |
reload replace |
none |
Math |
E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2 |
abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan |
none |
MimeType |
description enabledPlugin type suffixes |
none |
none |
mimeTypes array |
length |
none |
none |
navigator |
appCodeName appName appVersion mimeTypes plugins userAgent |
javaEnabled taintEnabled |
none |
options array |
length |
none |
none |
options array elements |
defaultSelected index length selected selectedIndex text value |
none |
none |
Password |
defaultValue form name type value |
blur focus select |
onBlur onFocus |
Plugin |
description filename length name |
none |
none |
plugins array |
length |
refresh |
none |
Radio |
checked defaultChecked form length name type value |
blur click focus |
onBlur onClick onFocus |
Reset |
form name type value |
blur click focus |
onBlur onClick onFocus |
Select |
form length name options selectedIndex text type |
blur focus |
onBlur onChange onFocus |
String |
length prototype |
anchor big blink bold charAt fixed fontcolor fontsize indexOf italics lastIndexOf link small split strike sub substring sup toLowerCase toUpperCase |
none |
Submit |
form name type value |
blur click focus |
onBlur onClick onFocus |
Text |
defaultValue form name type value |
blur focus select |
onBlur onChange onFocus onSelect |
Textarea |
defaultValue form name type value |
blur focus select |
onBlur onChange onFocus onSelect |
window |
closed defaultStatus document Frame frames history length location name opener parent self status top window |
alert blur clearTimeOut close confirm focus open prompt setTimeOut |
onBlur onError onFocus onLoad onUnload |