Document Object Model


Reference

Jump to Form DOM: Button, Checkbox, File, Form, Hidden, Option, Password, Radio, Reset, Select, Submit, Text or Textarea

Jump to other DOM: Anchor, Document, Event, History, Location, Navigator, Screen or Window

Button

Property Description
accessKey 
disabled  
form  
id  
name  
tabIndex  
type  
value  

Checkbox

Property Description
accept  
accessKey  
align  
alt  
checked  
defaultChecked 
disabled  
form  
id  
name  
tabIndex  
type  
value  

File

Property Description
accept  
accessKey  
align  
alt  
defaultValue 
disabled  
form  
id  
name  
tabIndex  
type  
value  

Form

Property Description
acceptCharset 
action  
encoding  
enctype  
id  
length  
method  
name  
tabIndex  
target  

Hidden

Property Description
defaultValue 
form  
id  
name  
type  
value  

Option

Property Description
defaultSelected 
disabled  
form  
id  
index  
label  
selected  
text  
value  

Password

Property Description
accept  
accesskey  
defaultValue 
disabled  
form  
id  
maxLength  
name  
readOnly  
size  
tabIndex  
type  
value  

Radio

Property Description
accept  
accesskey  
align  
alt  
checked  
defaultChecked 
disabled  
form  
id  
name  
size  
tabIndex  
type  
value  

Reset

Property Description
accept  
accesskey  
align  
alt  
defaultValue 
disabled  
form  
id  
name  
size  
tabIndex  
type  
value  

Select

Property Description
accessKey  
align  
disabled  
form  
id  
length  
multiple  
name  
selectedIndex 
size  
tabIndex  
type  
value  

Submit

Property Description
accept  
accessKey  
align  
alt  
defaultValue 
disabled  
form  
id  
name  
size  
tabIndex  
type  
value  

Text

Property Description
accept  
accessKey  
align  
alt  
defaultValue 
disabled  
form  
id  
maxLength  
name  
readOnly  
size  
tabIndex  
type  
value  

Textarea

Property Description
accessKey  
cols  
defaultValue 
disabled  
form  
id  
name  
readOnly  
rows  
tabIndex  
type  
value  

Anchor

Property Description
accessKey 
charset  
coords  
href  
hreflang  
id  
innerHTML 
name  
rel  
rev  
shape  
tabIndex  
target  
type  

Document

Property Description
alinkColor  
bgColor  
body  
cookie  
documentElement 
domain  
fgColor  
lastModified  
linkColor  
referrer  
title  
URL  
vlinkColor  

Event

PropertyDescription
altKey  
altLeft 
button  
  • 0 - Default. No button pressed
  • 1 - Left button pressed
  • 2 - Right button pressed
  • 3 - Left and right buttons pressed
  • 4 - Middle button pressed
  • 5 - Left and middle buttons pressed
  • 6 - Right and middle buttons pressed
  • 7 - All three buttons are pressed
cancelBubble  
clientX  
clientY  
contentOverflow 
ctrlKey  
ctrlLeft  
dataFld  
fromElement  
keyCode  
nextPage  
offsetX  
offsetY  
propertyName  
qualifier  
reason  
  • 0 - Successfully
  • 1 - Aborted
  • 2 - Error
recordset  
repeat  
returnValue 
saveType  
screenX  
screenY  
shiftKey  
shiftLeft  
srcElement  
srcFilter  
srcUrn  
toElement  
type  
userName  
wheelDelta  
x  
y  

History

Property Description
length  

Method

Description
back()  
forward()  
go(number|"URL") 

Location

Property Description
hash  
host  
hostname 
href  
pathname 
port  
protocol 
search  

Navigator

Property Description
appCodeName  
appMinorVersion 
appName  
appVersion  
browserLanguage 
cookieEnabled  
cpuClass  
onLine  
platform  
systemLanguage  
userAgent  
userLanguage  

Screen

Property Description
availHeight  
availWidth  
bufferDepth  
colorDepth  
deviceXDPI  
deviceYDPI  
fontSmoothingEnabled 
height  
logicalXDPI  
logicalYDPI  
pixelDepth  
updateInterval  
width  

Window

Property Description
closed  
defaultStatus  
dialogArguments  
dialogHeight  
dialogLeft  
dialogTop  
dialogWidth  
frameElement  
length  
name  
offscreenBuffering 
opener  
parent  
returnValue  
screenLeft  
screenTop  
self  
status  
top  

Method

Description
close()  
open()  
print()  
resizeBy()  
resizeTo()  
scrollBy()  
scrollTo()  


[
CSS | Events | DOM | HTML | JavaScript | Links | Home ]