Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Indicates whether the value for this attribute is explicitly specified or derived from a default value.
Syntax
boolValue = oDOMAttribute.specified
Remarks
Boolean. The property is read-only. It returns true if the value for the attribute is explicitly specified, or false if the value comes from a default value defined in the document type definition (DTD) or schema.
If you set the attribute value (even to the same value as the default), the specified property is automatically changed to true. To subsequently use the default value from the DTD, you must delete the attribute, which creates a new attribute with the default value and automatically resets the specified property to false.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.