Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

26.1. Generic Objects

Table 26-1 lists all of the objects that we treat in this reference as generic objects. All of these objects share the properties, methods, and event handlers described in succeeding sections and have no special items that require additional coverage elsewhere in this book.

Table 26.1. Generic HTML Element Objects
Formatting ObjectsContextual Objects 
bacronym 
bigaddress 
centercite 
icode 
nobrdfn 
rtdel 
rubydiv 
sem 
smallins 
strikekbd 
sublisting 
supp 
ttplaintext 
upre 
wbrsamp 
 span 
 strong 
 var 
 xmp 
PropertiesMethodsEvent Handlers
accessKeyaddBehavior()onactivate
all[]addEventListener()onafterupdate
attributes[]appendChild()onbeforecopy
baseURIapplyElement()onbeforecut
behaviorUrns[]attachEvent()onbeforedeactivate
canHaveChildrenblur()onbeforeeditfocus
canHaveHTMLclearAttributes()onbeforepaste
childNodes[]click()onbeforeupdate
childrencloneNode()onblur
citecompareDocumentPosition()oncellchange
classNamecomponentFromPoint()onclick
clientHeightcontains()oncontextmenu
clientLeftcreateControlRange()oncontrolselect
clientTopdetachEvent()oncopy
clientWidthdispatchEvent()oncut
contentEditabledoScroll()ondataavailable
currentStyledragDrop()ondatasetchanged
dateTimefireEvent()ondatasetcomplete
dataFldfocus()ondblclick
dataFormatAsgetAdjacentText()ondeactivate
dataSrcgetAttribute()ondrag
dirgetAttributeNode()ondragend
disabledgetAttributeNodeNS()ondragenter
documentgetAttributeNS()ondragleave
filters[]getBoundingClientRect()ondragover
firstChildgetClientRects()ondragstart
heightgetElementsByTagName()ondrop
hideFocusgetElementsByTagNameNS()onerrorupdate
idgetExpression()onfilterchange
innerHTMLgetFeature()onfocus
innerTextgetUserData()onfocusin
isContentEditablehasAttribute()onfocusout
isDisabledhasAttributeNS()onhelp
isMultiLinehasAttributes()onkeydown
isTextEdithasChildNodes()onkeypress
langinsertAdjacentElement()onkeyup
languageinsertAdjacentHTML()onlayoutcomplete
lastChildinsertAdjacentText()onlosecapture
lengthinsertBefore()onmousedown
localNameisDefaultNamespace()onmouseenter
namespaceURIisEqualNode()onmouseleave
nextSiblingisSameNode()onmousemove
nodeNameisSupported()onmouseout
nodeTypeitem()onmouseover
nodeValuelookupNamespaceURI()onmouseup
offsetHeightlookupPrefix()onmousewheel
offsetLeftmergeAttributes()onmove
offsetParentnormalize()onmoveend
offsetTopreleaseCapture()onmovestart
offsetWidthremoveAttribute()onpaste
outerHTMLremoveAttributeNode()onpropertychange
outerTextremoveAttributeNS()onreadystatechange
ownerDocumentremoveBehavior()onresize
parentElementremoveChild()onresizeend
parentNoderemoveEventListener()onresizestart
parentTextEditremoveExpression()onrowenter
prefixremoveNode()onrowexit
previousSiblingreplaceAdjacentText()onrowsdelete
readyStatereplaceChild()onrowsinserted
recordNumberreplaceNode()onscroll
runtimeStylescrollIntoView()onselectstart
scopeNamesetActive() 
scrollHeightsetAttribute() 
scrollLeftsetAttributeNode() 
scrollTopsetAttributeNodeNS() 
scrollWidthsetAttributeNS() 
sourceIndexsetCapture() 
stylesetExpression() 
tabIndexsetUserData() 
tagNameswapNode() 
tagUrntags() 
textContenttoString() 
titleurns() 
uniqueID  
unselectable  
width  



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial