JavaScript Kit- DOM Element properties

JavaScript Kit DOM - JavaScript Kit DOM Element properties http/www.javascriptkit.com/domref/elementproperties.shtml Search JavaScript Kit c d e f

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
JavaScript Kit- DOM Element properties http://www.javascriptkit.com/domref/elementproperties.shtml 1 of 2 3/14/2008 5:19 PM Submit Categories: g f e d c All g f e d c Free JavaScripts/ Applets g f e d c Tutorials g f e d c b References JavaScript Kit > DOM Reference > Here DOM Element properties Last updated: Februrary 27th, 2006 Below lists the DOM properties that can be used on most elements in a document: DOM Element properties Properties Description attributes[] Returns an array (NamedNodeMap) containing all the attributes defined for the element in question, including custom attributes. IE6 returns not just attributes explicitly defined by the webmaster, but those of the element's internal DTD as well. In Firefox, attributes[] work more as expected, returning only user defined attributes, and even reflect changes done by scripting to an attribute. Each attribute[] element returned supports a name and value property to retrieve additional information about the attribute.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/16/2008 for the course MIS 270 taught by Professor Byrtus during the Summer '08 term at Mercyhurst.

Page1 / 2

JavaScript Kit DOM - JavaScript Kit DOM Element properties http/www.javascriptkit.com/domref/elementproperties.shtml Search JavaScript Kit c d e f

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online