[Javascript] RE: formatting textarea
Peter Brunone
peter at brunone.com
Thu May 2 10:57:58 CDT 2002
Alan,
If you want some hints and examples, I suggest looking at Yahoo! Mail
and/or 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/a8daad8f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1232 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020502/a8daad8f/attachment.bin>
More information about the Javascript
mailing list