YfcGetSearchHandle
Description
This JavaScript function provides a handle to the Search icon on a search view. This handle then can be used for attaching events in order to achieve custom behavior. To affect the behavior associated with the Save Search icon, see “yfcGetSaveSearchHandle."
Syntax
var oObj=yfcGetSearchHandle();
Input parameters
None.
Output parameters
var - Handle to the Search icon on the search view.
Example
This example shows how to have the application perform custom processing when the user selects the Search icon.
<script language="javascript">
function attachBehaviourFn()
{
var
oObj=yfcGetSearchHandle();
var sVal=oObj.attachEvent("onclick",fixDerivedFromReturnSearch);
...
}
window.attachEvent("onload",attachBehaviourFn);
...