Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Click on link to generate text in a textarea?


  • From: javascript@xxxxxxxxxx (David Yee)
  • Subject: [Javascript] Click on link to generate text in a textarea?
  • Date: Tue, 18 Dec 2001 12:09:57 -0800

Hi all.  Is it possible to write javascript that'll automatically 
type in text in a <textarea> when you click on the link?  E.g. I have 
a link called COMPANY_NAME, and when I click on the link I want the 
text "My Company" to be typed in immediately into the <textarea> box 
next to that link at the cursor (thus not destroying what's already 
in the text box).  Thanks for any help!

David