forgot to add on more to that:
function onSubmit()
{
if((document.getElementById('submitButton').style.visibility != 'visible') && (document.getElementById('progressBar').style.visibility != 'hidden'))
{
document.getElementById('submitButton').style.visibility = 'visible'...
also, I think you can do a conditional test beforehand.
(once again I am not a Javascript expert)
if((document.getElementById('submitButton').style.visibility != 'visible') && (document.getElementById('progressBar').style.visibility != 'hidden'))
{...
I'm not an expert on Javascript, but maybe you can try this instead:
document.getElementById('submitButton').style.visibility = 'visible';
document.getElementById('progressBar').style.visibility = 'hidden';
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.