faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 17 people (12%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

How can I add text (const or var) in a textarea by click in a image or Href ?.

May 17th, 2008 22:48
dman, Alina jane, Articles Hosting, Ayse Geertsma, Victor Tavares, http://www.ttnr.org


This is more of a JavaScript question I think. You can use the onclick-
event.
<a href="#" onclick="dosomething();"><img src="picture.gif"></A>
Make sure you enter something in HREF or Netscape doesn't know what to 
do.
====
mediacollege.com/internet/javascript/form/add-text.html
i hope that helps.