Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Retrieves whether an attribute has been specified.
Syntax
[ bSpecified = ] attribute.specifiedPossible Values
bSpecified | Boolean that receives one of the following values:
|
The property is read-only. The property has no default value.
Remarks
An attribute is specified if it is set through HTML or script.
Example
This example uses the specified property to determine the attributes set for an object. The function checks each attribute, and lists all of the attributes of the object and the value of each attribute. In addition, each attribute that is set is displayed.
<SCRIPT>
Standards Information
This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
|
attribute |
Home | Top | Website design | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |