|
|
|
|
|
hasAttributes
hasAttributes is a boolean value indicating whether the current element has any attributes.
Syntax
[ true | false ] = element.hasAttributesParameters
Example
t1 = document.getElementById("table-data"); if ( t1.hasAttributes ) { // do something with // t1.attributes }
Notes
Specification
core
| mozilla.org | mailto:oeschger | bug 93108 |
|
|
|
|
|