View Single Post
Old 10-01-2008, 03:59 PM   #8 (permalink)
RobertK
The Addict
Top Contributor Good Samaritan 
 
Join Date: Jan 2008
Location: USA
Posts: 217
Thanks: 16
RobertK is on a distinguished road
Default

No offense, but if you use innerHTML the cursor location isn't saved, and if you don't use += or = innerHTML + "<u></u>" all content will be replaced. This will just anger users.

I would suggest reading this tutorial and adapting it to your needs. This is the same thing I used for my work but I got a bit fancy with it; however, this is a great place to start from.
__________________
Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning. - Rich Cook
RobertK is offline  
Reply With Quote