Deprecated
SearchController object methods are deprecated, we recommend using Search API instead.
Hides or shows options on the search panel.
Syntax
srch.toggleOptions(value);
Arguments
value
one of the values listed below:
Value |
Description |
hide |
Hides the options on the search panel. |
show |
Shows the options on the search panel. |
Return value
No return value.
Example
Show options on the search panel using the JavaScript OnLoad event:
var srch = pageObj.getSearchController();
srch.toggleOptions('show');
See also:
•JavaScript API: SearchField object
•JavaScript API: SearchController object (deprecated)