So this is what I want to do. I want my client to be able to highlight text in a textarea, then press a button, and have the html for italic, bold, underline, etc insert around the highlighted text. I also want it to work the same way for hyperlinks, with a popup in which to enter the URL.

I've been searching around for a solution but I know very little Javascript and don't know how to make alot of that stuff work for me.

What fabulous Javascript genius wants to hook me up?