YfcFindErrorsOnPage
Description
This JavaScript function can be used within JSPs. This function is used to find errors on a page. On finding an error, this function raises an appropriate alert message.
Syntax
yfcFindErrorsOnPage()
Input parameters
None.
Return value
None.
Example
This example shows how to call the yfcFindErrorsOnPage() function from a JSP. While adding a dynamic row inside a JSP, this function checks if the JSP has any errors on a page. On finding an error, an appropriate alert message is displayed:
function addRows(element)
{
if(yfcFindErrorsOnPage())
return;
}