[Javascript] Need Response right away !!
Bommadeni, Rajanee
RBommadeni at geico.com
Tue Nov 11 15:26:43 CST 2003
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();
Thanks,
Raj.
301-986-3489 (Work)
SOD Performance Mgmt.
RBommadeni at geico.com <mailto:RBommadeni at geico.com>
===================
This email/fax message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution of this email/fax is prohibited. If
you are not the intended recipient, please contact the sender by email/fax
and destroy all paper and electronic copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20031111/b1565f87/attachment.htm>
More information about the Javascript
mailing list