There is a little 'progess' function (it gives a text based 'progress bar' type response) that I found but I cannot load it at will.
I am not a jscript guru, obviously, and I was wondering what I can do to make sure I can output it wherever I want. Here is the code:
Code: Select all
function progress() {
var str = "Almost Ready";
for (i=0; i<dots; i++) {
str = str + ".";
}
dots = dots + 1;
if (dots<5) {
setTimeout("checkcode()",1000);
}
displayMessage(str);
}Almost Ready... where each dot appears a second after the other
I tried this with a form and, if I submit to page xyz.php, and hit BACK, I see it work
But I cannot include it in a page or get it to load any other way. What can I do?
The objective is to control when I show a user the 'progress...' output such as when they submit to a page
or if a page loads/etc.
Thank you for your time.