[Javascript] RE: formatting textarea

Alan Easton alan.easton at unn.ac.uk
Thu May 2 11:00:24 CDT 2002


Thanks Peter, I'll have a look.

-----Original Message-----
From: Peter Brunone [mailto:peter at brunone.com]
Sent: Thursday, May 02, 2002 4:58 PM
To: javascript
Subject: [Javascript] RE: formatting textarea


Alan,
 
    If you want some hints and examples, I suggest looking at Yahoo!  Mail
and/or www.richtextbox.com <http://www.richtextbox.com>  .  They aren't
going to be cross-browser pretty, but then no formatting solution is.
 
Cheers,
 
Peter

-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Alan Easton
Sent: Thursday, May 02, 2002 9:11 AM
To: 'Java-List'
Subject: formatting textarea


Hello People,
 
I am wanting users to format text in a textarea clientside before submitting
it, namely just bold, italics, underline, line and paragraph breaks. I don't
want them to have to know any html tags to do this.
 
Is there a way, using Javascript, they could just highlight the text in the
textarea they wished formatting, and pressed the appropriate button which
would insert the tags at the beginning and end of the highlighted text.
 
Or is there a better alternative to accomplishing this than the way I am
currently thinking.
 
Any help would be appreciated.
 
Many Thanks,
 
Alan...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020502/7725e2f9/attachment.htm>


More information about the Javascript mailing list