Hi,
Im having the following Javascript now.
function submitTestingToolForm(actionType){
var sForm = getObject(‘soTestingToolForm’);
if(sForm != null){
if ( actionType == “writeToQueue.do” ){
if ( confirm (“Would you like to save the XML before
continuing?”) ){
actionType = “downloadXml.do”;
}
}
sForm.action =actionType;
enableAllField(sForm);
sForm.submit();
}
}
When i call the “submitTestingToolForm” with “actionType” as “writeToQueue.do”, then am asking to confirm “Would you like to save the XML before continuing?”, if the client clicks “ok” then i will be calling “downloadXml.do”. Then am submitting the form. After this form is submitted i need to call “writeToQueue.do” rightaway.
Let me know how can I go back to the (actionType == “writeToQueue.do) after the sForm.submit();