The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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);
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|