PBDOM_ELEMENT:
HasAttributes method
Description
Indicates
whether a PBDOM_ELEMENT object has one or more attributes.
Syntax
1 |
<span>pbdom_element_name</span>.HasAttributes() |
Argument |
Description |
---|---|
pbdom_element_name |
The name of a PBDOM_ELEMENT |
Return Values
Boolean. Returns true if
this PBDOM_ELEMENT object has at least one attribute and false if
this PBDOM_ELEMENT object has no attributes.
Examples
In the following document fragment, only the element site has
an attribute (href):
1 |
<books><br>   <title>Inside Wizardry</title><br>   <author>Ron Potter</author><br>   <site href="http://www.mybooks.com/press"/><br></books> |
If
the PBDOM_ELEMENT object pbdom_elem_site represents
the element site, the following call returns true:
1 |
pbdom_elem_site.HasAttributes() |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments