Originally Posted by
osirix
Sorry if i sound stupid but is it possible to pass a JS variable into the
text value
e.g. var new ="somethign";
<a href="javascript:insertText(' var new ' ,'user_location');" onClick="void(0)">Insert 'Hello'</a>
so when you click it
somethign will be displayed in the box instead of the var new text being displayed
i want to out put the contents of the variable not the name of it
thanks in advance