Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > SearchField object > Methods

JavaScript API: SearchField object > getSecondControl()

Scroll Prev Next More


Returns the second control object of the search field (for the BETWEEN option).


var ctrl = field.getSecondControl();


No arguments.

Return value

Returns the second control object of the search field.


Get the second control of the search field in the search panel using the JavaScript OnLoad event:


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

See also:

JavaScript API: SearchController object (deprecated)

About Search API

Events: JavaScript OnLoad

JavaScript API: SearchField object

JavaScript API


Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software