The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello, I'm using this script to disable submit button after submission:
HTML Code:
function disableForm(theform) {
if (document.all || document.getElementById)
{
for (i = 0; i < theform.length; i++)
{
var tempobj = theform.elements[i];
if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset")
tempobj.disabled = true;
}
setTimeout('alert("Your form has been submitted. Notice how the submit and reset buttons were disabled upon submission.")', 20);
return false;
}
}
Does anyone have a solution? Thanks in advance. |
|
#2
|
|||
|
|||
|
does anyone ha an idea please??
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|