View Single Post
  #2 (permalink)  
Old 11-28-03, 02:16 PM
melsana melsana is offline
Newbie Coder
 
Join Date: Nov 2003
Location: MD
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
It is hard for me to visuallize your code so I'm not sure eactly where you would put this...

But where ever you want the person to click you would put

onClick=sendBack(":-)") or whatever string you want sent back to the text area...

Then in the javascript use

function sendBack(myString) {
var txt = opener.document.form1.MMessage.value
opener.document.form1.MMessage.value = txt+myString
}

I haven't tested this but in theory it should work.
Reply With Quote