Returns the control object of the search field.
Syntax
var ctrl = field.getControl();
Arguments
No arguments.
Return value
Returns the control object.
Example
Get the control object of the search field using the JavaScript OnLoad event:
var srch = pageObj.getSearchController();
var field = srch.getSearchFields()[0];
var ctrl = field.getControl();
See also:
•JavaScript API: SearchController object (deprecated)
•JavaScript API: SearchField object