CUI.Page.FocusManager.requestFocusForComponent(component) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Directs the focus to the specified component.
var value = CUI.Page.FocusManager.requestFocusForComponent(component);
Parameters
component
Type: CUI.Page.PageComponent
The component to which focus is directed.
Return Value
Type: boolean
true if the focus was successfully directed to the page component; otherwise, false.
Remarks
This method adds the page component to the component list if it is not in the list.