cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

goToPage java script fuction

Former Member
0 Likes
243

Hi,

I have seen goToPage java script fuction in a jsp file and iam unable to find the function anywhere. what is goToPage fuction can any one has an idea

Regards,

Pavan

View Entire Topic
Former Member
0 Likes

goToPage function is called in another javascript function of button click in following jsp

/sap.comcrmisawebTestb2c/webContent/pages/servicerequest/serviceForm.jsp

the function is as follows

function createRequest(theForm) {

// Submit the form only ones. Even if the user click several times

if (!formSubmitted) {

setB2CButtonStatus("cancelId", false);

formSubmitted = true;

if (navigator.appName != "Netscape") {

document.body.style.cursor = "wait";

status = '<icss:translate key="icss.title.create" area="generic"/>';

}

goToPage('<%=Constants.SR_START_PAGE%>', '<%=Constants.SR_RESULT_PAGE%>', theForm);

}

}

where is this gotoPage js function located.

Edited by: Pavan Reddy on Mar 22, 2010 6:20 AM