The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
JavaScript: Trying to toggle the inlinemod checkbox
Hello
I am trying to toggle a checkbox externally, I have added a radio button for the moderators to mark posts. So when they select this radio button I want the action to be similiar to checking the checkbox eg the post going yellow. I have tried the following code but for some reason it doesnt work: Code:
obj = document.getElementById('plist_'+nPostId); inlineMod.toggle(obj); There are no javascript errors, the screen just flashes and nothing happens. figured it out Code:
obj = document.getElementById('plist_'+nPostId); obj.checked = true; inlineMod.toggle(obj); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|