View Full Version : Insert text into parent window form
Mhtml
04-23-2003, 07:16 PM
Why doesn't the following code work to insert the emoticon text into the message field in my shoutBox? :mad::confused::(
function emoticon(theEmoticon){
if (opener.shoutForm.Mess.value=='Message';){
opener.shoutForm.Mess.value=theEmoticon;
}else{
opener.shoutForm.Mess.value+=theEmoticon;
}
}
Roy Sinclair
04-23-2003, 07:42 PM
Judging by where the ;) got inserted into your code above, I'd say there's a ; in there that ought to be removed.
Mhtml
04-24-2003, 04:43 AM
OMG, over an hour of pulling my hair out and it was a little semi colon.
Thanks Roy, it works now. :):D
darkannie
04-24-2003, 10:58 PM
how would that be reconfigured to put plain text in the form parent window ...? like say, with a checkbox?
example: click here if you prefer i write the summary?
upon click text comes up as "You do it" in a textarea. where do i put it?
Mhtml
04-25-2003, 07:03 AM
I'm unsure what you mean.. I'm not really with it today so it's probably obvious but can you explain it a bit more. . .
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.