Contents

 
Home
ASPRunner Professional 8.1 manual
Prev Page Next Page
 
 

Javascript API: setOption()

 

Selects the option for search field on the search panel (CONTAINS, EQUALS etc.).

Syntax

field.setOption(option);

Arguments

option - one of the available search options with the following prefix Runner.search.options. Example: Runner.search.options.MORE_THAN, Runner.search.options.NOT_EMPTY.

Return value

No return value.

Example

Select Between option for search field on the search panel:

JavaScript OnLoad event

var srch = pageObj.getSearchController();
var field = srch.getSearchFields()[0];

field.setOption(Runner.search.options.BETWEEN);

 

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)