Functiondijit.focus

dojo.require("dijit");
defined in dijit/_base/focus.js

Sets the focused node and the selection according to argument. To set focus to an iframe's content, pass in the iframe itself.

Usage

function (/*Object|DomNode*/ handle) (view source)
parametertypedescription
handleObject|DomNodeobject returned by get(), or a DomNode