Page 1 of 1

Javascript help

Posted: Thu Aug 08, 2002 12:23 pm
by pb2ya
like in the form when you are making a post here, how can you make the form so when you click a button, text is added to a textarea?

Posted: Thu Aug 08, 2002 12:29 pm
by llimllib
read the code. Directly from view source:

Code: Select all

document.post.message.value += bbtagsїbutnumber + 1];
post is the form name and message is the textarea's name

omg

Posted: Thu Aug 08, 2002 12:30 pm
by pb2ya
dude i feel so dumb. thx. forgot about view source.

Posted: Thu Aug 08, 2002 12:30 pm
by llimllib
not a problem, good luck