javascript or PHP insert link to textarea?

I have been looking in google for a long time and haven't found it. I want a script to let users insert a link (if they want to) onto a textarea.I can even have it in two boxes like "link to" and "link text". I don't really care how it looks but I really want it.
I dont want the link to go seperatly from the textarea, i want it to insert where users are at in the textarea.
 
In HTML

<form>
First Link:
<input type="text" name="firstlink" />
<br />
Second Link:
<input type="text" name="secondlink" />
</form>


That will create input boxes for you.

As far as what you want to do with them, you did not specify so I cant help you with any script to go beyond that.
 
Back
Top