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."
var oObj=yfcGetSearchHandle();
None.
var - Handle to the Search icon on the search view.
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);
...