I have a multi-step form which contains 4 steps. When the 3rd step is submitted an alert comes in for successful submission. So, until the alert comes up I want to show a loading page. So, how can I do so ?
Thank you
I searched a lot for loading page, but it is for until the page loads. And in this form I want to show the loading page until an alert comes up.
The solution is simple, you need to show your loader page on successful form submission, the loading page will appear on the page and keeps displaying until the page is redirected to the next page after processing.
simple you can do it like this in js
$(document).ready(function(){
$("#myform").on("submit", function(){
$("#pageloader").fadeIn();
});//submit done
});//document ready
refer this post - Click Here