I have a form to submit and once submitted I need to display the confirmation page with form details. I used an below code to do that, However, it is redirected to blank page.
Code:
Previous submit action which needs to jQuery Post
$('#btnSubmit').click(function () {
confirmationPage();
document.formPsmq.action = "/reports/htm/submit.do";
document.formPsmq.submit();
});
How to use jQuery post method to stay on the same page without redirection?
Thanks for help.