Re: Capturing input as html under the scenes Alternatively, if you can live with an IE-only solution, you might consider the contenteditable attribute of a <div> tag. This does as it's name implies: allows a user to edit the contents of the div, but more importantly, getting the value of it results in HTML. You can actually create a whole richtext editor with fonts, colors, etc. with this (I know, I've done it). AFAIK though, it is IE-only.
-- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, February 1, 2005 9:15 am, Mark Benussi said: > Jeff, 10 out of 10 go get yourself a coffee on me. > > Cheers, > > Mark > > ----Original Message Follows---- > From: Jeff Beal <[EMAIL PROTECTED]> > Reply-To: "Struts Users Mailing List" <user@struts.apache.org> > To: user@struts.apache.org > Subject: Re: Capturing input as html under the scenes > Date: Tue, 01 Feb 2005 09:05:05 -0500 > > Mark Benussi wrote: >>What I really want is a gui that allows them to type ? and new paragraphs >>etc but under the scenes it is producing the html. Giving them control to >>change colours and text style would also be good. > > Have a look at FckEditor, a JavaScript rich text editor that works in IE > or > Mozilla (maybe Opera too, but not 'supported') > > http://www.fckeditor.net/ > > -- Jeff Beal > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]