![]() |
Smilie selection in drop-down box, any idea?
Hey guys,
we have a problem with a JS solution for a custom addon. We need a dropdown box to select a smilie, our solution dont work and i wonder why... This is the code: Code:
<if condition="$show['posticons']"> Code:
<td><input type="radio" name="iconid" value="$iconid" id="rb_iconid_$iconid" tabindex="1" onclick="swap_posticon('pi_$iconid')" $iconchecked /></td> There is no Javascript error in the debugger, it simply not execute the code / updates the <img> with the selected icon. I would really appreciate any suggestion. |
Did you view the page source to make sure the html looks like you expect (i was thinking the ids, specifically).
Also, you can debug by putting in alert("some string") to see what's happening. |
All times are GMT. The time now is 01:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|