Hi i need some Javascript that prevents double-clicking a "submit" button on a User registration/login page.
I have this code :
if(dF.Get(f.name) != false)
{
alert("In progress..."
return;
}
where f = FormName
But it doesn't work, you double-click and it brings up the "In progress..." alert. When you click the "ok" button nothing happens, the form is not submitted...
Any ideas?
Cheers
Arun
I have this code :
if(dF.Get(f.name) != false)
{
alert("In progress..."
return;
}
where f = FormName
But it doesn't work, you double-click and it brings up the "In progress..." alert. When you click the "ok" button nothing happens, the form is not submitted...
Any ideas?
Cheers
Arun