dojo.place
<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js
Attempt to insert node into the DOM, choosing from various positioning options. Returns true if successful, false otherwise.
Usage
parameter | type | description |
---|---|---|
node | String|DomNode | id or node reference to place relative to refNode |
refNode | String|DomNode | Accepted string values are: * before * after * first * last "first" and "last" indicate positions as children of refNode. |
position | String|Number | string noting the position of node relative to refNode or a number indicating the location in the childNodes collection of |