Hi all,

Would dearly love some help with this problem!!

I have a select box which updates a hidden field on an 'onchange' event. This works fine. This hidden field basically stores the selected name of an image.

I also have a textarea with a javascript button alongside which calls a function, this function then writes a small piece of html code to the textarea, for an image. I would like to have this source code in the function include the value of the hidden field!

Here's the code:

function imageleft()
{
document.getElementById('Text').value=document.getElementById('Text').value+"<img src='' align='left'";
}