dojo.isDescendant
<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js
Returns true if node is a descendant of ancestor
parameter | type | description |
---|---|---|
node | DomNode|String | id or node reference to test |
ancestor | DomNode|String | id or node reference of potential parent to test against |