YfcGetSaveSearchHandle

Description

This JavaScript function provides a handle to the Save Search icon on the search view. This handle then can be used for attaching events to achieve custom behavior. To change the behavior associated with the Search icon, see “yfcGetSearchHandle."

Syntax

var oObj=yfcGetSaveSearchHandle();

Input parameters

None.

Output parameters

var - Handle to the Save Search icon on the search view.

Example

This example shows how to have the application perform custom processing when the user selects the Save Search icon.

<script language="javascript">
	function attachBehaviorFn()
	{
       ...
		var oObj1=yfcGetSaveSearchHandle();
		var sVal1=oObj1.attachEvent("onclick",fixDerivedFromReturnSearch);
	}
   window.attachEvent("onload",attachBehaviourFn); 
...