Javascript Reference
Categories: Attr

javascript Attr expando

@March 15, 2008, 1:22 a.m.
expandoFirefox/Netscape/NN n/a IE 6 Chrome/Safari/DOM n/a  

Read-only  

Returns Boolean true if the attribute, once it is inserted into an element, is not one of the native attributes for the element. This property is false for an attribute created by document.createAttribute() until the attribute is added to the element (via the setAttributeNode( ) method), at which time the property's value is reevaluated within the context of the element's native attributes.

 
Example
 
var isCustomAttr =
  document.getElementById("book3928").getAttributeNode("author").expando;
 
Value

Boolean value: true | false.

 
Default

false


Powered by Linode.