YfcBodyOnLoad

Description

This JavaScript function is called whenever any page is loaded. Typically, it is automatically called when the page is loaded. However, if your page must do something special on the onload event, you can call this function first and then call your own window.onload() function.

Syntax

yfcBodyOnLoad()

Input parameters

None.

Return value

None.

Example

This example shows how the onload event can be taken by your custom JSP rather than let the Presentation Framework take it.

function window.onload()					{
    if (!yfcBodyOnLoad()
&& (!document.all('YFCDetailError'))) {
     return;
    }
//Do your special processing here 
}