I hv design a progress bar, the method start_progrss() starts the progress bas and the method end_progrss() stops the progress bar.
I develop two file 1. loginfile.php and
2. downloadfile.php
My loginfile.php contain two text fields user name and password.
/*********loginfile.php ************/
function mysubmit(){
//code
start_progress(); // here i start progress bar
window.location.href = "downloadfile.php?getLoginName=" + getLoginName+"&getLoginPass="+getLoginPass;
//code
}
Now my problem is how i stop progress bar by calling stop_progress() once the user name and password is verified. Please give any suggestion.