Link to home
Start Free TrialLog in
Avatar of VapiSoft
VapiSoft

asked on

Add a link to a textarea

Hi,
I have a textarea (tiny-mce).
I want to a link to the textarea, so when the user clicks on it (in the textarea) it will invoke my javascript function (or any other URL).
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

The txt area has an onclick() event.
Avatar of VapiSoft
VapiSoft

ASKER

I don't want to get a click anywhere, I want to see a link (blue with underline and a hand when the cursor on it), and that when I click on it, it will go to the url (just like reguar link).
Currently, I add the '<a href="...">text</a>'
It shows the link (blue with underline), but when I put the cursor on it it does not show the hand, and the click does not do anything.
See the picture.
ScreenShot-4737.jpg
Would that not be very annoying since you would then not be able to edit it.
ASKER CERTIFIED SOLUTION
Avatar of BurnieP
BurnieP
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It works.
Thanks.