0% found this document useful (0 votes)
2 views

JavaScript_Objectsummary

The document provides a comprehensive overview of various JavaScript objects, detailing their properties, methods, and event handlers. It includes objects such as Array, Button, Checkbox, Date, and more, highlighting common methods like toString and valueOf. Each object is listed with its specific attributes and associated event handlers, where applicable.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

JavaScript_Objectsummary

The document provides a comprehensive overview of various JavaScript objects, detailing their properties, methods, and event handlers. It includes objects such as Array, Button, Checkbox, Date, and more, highlighting common methods like toString and valueOf. Each object is listed with its specific attributes and associated event handlers, where applicable.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

JavaScript Object (Summary)

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.

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

You might also like