Functiondijit.getFocus

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

Returns the current focus and selection. Called when a popup appears (either a top level menu or a dialog), or when a toolbar/menubar receives focus

Usage

function (?menu, /*Window?*/ openedForWindow) (view source)
parametertypedescription
menu Optional. The menu that's being opened
openedForWindowWindowOptional. iframe in which menu was opened