Camz
08-23-2006, 01:50 AM
I want a button to place this code on my text: 6
I don't want to modify any variable.
I tried this but the code doesn't work... :(
<td><a href="javascript:void(0);"><img src="http://www.yoursite.com/diceimage.gif" title="Roll 5 Dice"
onclick="document.getElementById('{$editorid}_textarea').va lue += '6';"></a></td>
Any idea?
Thanks,
Camz
I don't want to modify any variable.
I tried this but the code doesn't work... :(
<td><a href="javascript:void(0);"><img src="http://www.yoursite.com/diceimage.gif" title="Roll 5 Dice"
onclick="document.getElementById('{$editorid}_textarea').va lue += '6';"></a></td>
Any idea?
Thanks,
Camz