The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
JScript: Button disable at submit
I have a jscript function to disable a Sumbit button after the form has been submitted. But as it is, it has to be splitted across templates (because the header and the form starts their outputs in different templates), so I was wondering:
Are there any way of achieving the same effect through the 'onClick' attribute of the <input>, or better yet: a way to get it to work even if javascript is disabled? Cheers |
#2
|
||||
|
||||
I can't think of any way if javascript is disabled, but it should work with onclick... how is it done now?
|
#3
|
||||
|
||||
Now theres a function in the <head> of the template, and the form has this bit of code: 'onSumbit="javascript:button_disable(this)"'
or something like that. Cant remember the function name |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|