Returns the list of search options that are currently available in the search panel (CONTAINS, EQUALS, etc.).
Syntax
var options = field.getOptions();
Arguments
No arguments.
Return value
Returns the array of available search options. See the search options list to learn more.
Example
Get the list of search options using the JavaScript OnLoad event:
var srch = pageObj.getSearchController();
var field = srch.getSearchFields()[0];
var options = field.getOptions();
See also:
•JavaScript API: SearchController object (deprecated)
•JavaScript API: SearchField object