October 15, 200818 yr Hi all still experimenting with javascript and making a wysiwyg editor working great now but i would like to transfer the colour of my selecter in to the code area, i can make it transfer any characters but need it to transfer the colour #code this is what i have <td colspan="3" style="width:145px;text-align:right;"><a href="#" onclick="addText('need the varable to go here')"> <img src='../assets/underline.gif' alt='underline text' width='18' height='18' border='0'></a></td></tr> this line produces the varable i need <td height="20" colspan="2"># <input name="colour" ID="hex" class="smInput" style="width:50px;" onBlur="drawHex(this.value);"></td> i need this varible some how on click been tranfered to my editor any ideas thanks
Create an account or sign in to comment