Element.HasAttribute Method |
Determines whether the current node has an attribute with the specified name.
[VBScript] Public Function HasAttribute( _ ByVal name As String _ ) As Boolean
[JScript] public function HasAttribute( name : String ) : Boolean;
true if the current node has the specified attribute; otherwise, false.