You can't use document.write after the page has loaded.
Above your form, you could have a div:
[HTML]<div id="loading" style="visibili ty:hidden">trac ert is running in the background.<img src="show_loadi ng.gif"></div>
[/HTML]
Then in progress(), just replace the document.writes with:
[CODE=javascript]document.getEle mentById("loadi ng").style.visi bility = 'visible';[/CODE]
Above your form, you could have a div:
[HTML]<div id="loading" style="visibili ty:hidden">trac ert is running in the background.<img src="show_loadi ng.gif"></div>
[/HTML]
Then in progress(), just replace the document.writes with:
[CODE=javascript]document.getEle mentById("loadi ng").style.visi bility = 'visible';[/CODE]
Comment