Javascript help

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
pb2ya
Forum Commoner
Posts: 42
Joined: Sat Jul 06, 2002 5:20 pm
Location: ATL
Contact:

Javascript help

Post 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?
User avatar
llimllib
Moderator
Posts: 466
Joined: Mon Jul 01, 2002 2:19 pm
Location: Baltimore, MD

Post 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
pb2ya
Forum Commoner
Posts: 42
Joined: Sat Jul 06, 2002 5:20 pm
Location: ATL
Contact:

omg

Post by pb2ya »

dude i feel so dumb. thx. forgot about view source.
User avatar
llimllib
Moderator
Posts: 466
Joined: Mon Jul 01, 2002 2:19 pm
Location: Baltimore, MD

Post by llimllib »

not a problem, good luck
Post Reply