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

goToPage java script fuction

Former Member
0 Likes
242

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

Accepted Solutions (0)

Answers (2)

Answers (2)

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

Former Member
0 Likes

Can you be more specific as to which page and button/link you saw that. That will help in providing an answer.

First bet is that it should be on one of a .js file that is included in that particular jsp

Pradeep

Ask a Question