Hello im sry if i have any of this code wrong, im not very good at Javascript.
so basically i have a ChgText() which works fine althou it replaces the whole field of my text area.
how would i go about changing this code so i could have it just insert without erasing the text field ?
Thank you
<script type="text/javascript" language="javascript"><!--
function ChgText()
{
var MyElement = document.getElementById("MyTextBox");
MyElement.value = ":-)"
return true;
}
//--></script>
and
<img src=images/smilies/welcome.gif alt="Click Me!" onclick="ChgText()" />