I have a form which updates to my database. I want to give the user the option to turn something into a link by highlighting the text and then clicking a button which will open a new window where they type the link address. When they close the window the highlighted text should be turned into a link. An example is Yahoo mail or most other mail programs where you turn text into a link. Can anyone either explain how I do this or point me in the right direction? Thanks.