Functiondojo.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

function (/*String|DomNode*/ node, /*String|DomNode*/ refNode, /*String|Number*/ position) (view source)
parametertypedescription
nodeString|DomNodeid or node reference to place relative to refNode
refNodeString|DomNodeAccepted string values are: * before * after * first * last "first" and "last" indicate positions as children of refNode.
positionString|Numberstring noting the position of node relative to refNode or a number indicating the location in the childNodes collection of