I don't think you can highlight in a textarea.
If you need this combination of markup and editing, I thin kyou will need to switch to
a WYSIWYG editor of some flavor or another.
Jerry Johnson
[EMAIL PROTECTED] 08/01/03 12:52PM
Anyone ever do this or know of a custom tag?
I've got a form
I've been looking into a similar function myself. I would like to stay away
from adding a rich text editor to the form. I'm starting to lean toward a
Message Board Markup Language. Anyone have any insight?
BG
From: [EMAIL PROTECTED] (Rafael Alan Bleiweiss)
Reply-To: [EMAIL PROTECTED]
To:
Unfortuneatly, a standard HTML textarea doesn't render HTML codes, so
you really can't highlite words - the textarea would show the b or
style or font tags, etc..
You'll need to use an HTML editor object - I use SoEditor Lite
(http://www.siteobjects.com/pages/order.cfm). It's free and very
Jerry Johnson wrote:
I don't think you can highlight in a textarea.
you can do this actually... you can also move the cursor in a text field
or select part of it...
here's a good start .. mozilla is way ahead on the easiness too.. ie is
a bit more difficult
FAQTs - Knowledge Base - View
be easier to implement than a full WYSIWYG
editor in the page...
Cheers,
Jeff Garza
-Original Message-
From: Jeff Beer [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 9:16 AM
To: CF-Talk
Subject: RE: CF tag for highlighting text in a textfield?
Unfortuneatly, a standard HTML
in the page...
JG Cheers,
JG Jeff Garza
JG -Original Message-
JG From: Jeff Beer [mailto:[EMAIL PROTECTED]
JG Sent: Friday, August 01, 2003 9:16 AM
JG To: CF-Talk
JG Subject: RE: CF tag for highlighting text in a textfield?
JG Unfortuneatly, a standard HTML textarea doesn't render HTML
Unfortuneatly, a standard HTML textarea doesn't render HTML codes, so
you really can't highlite words - the textarea would show the b or
style or font tags, etc..
You'll need to use an HTML editor object - I use SoEditor Lite
(http://www.siteobjects.com/pages/order.cfm). It's free and very
At 11:40 AM 8/1/03, you wrote:
http://www.faqts.com/knowledge_base/view.phtml/aid/13562/fid/130
This allows manipulation of a selection. I need to be able to parse
through the submitted textarea content and feed it back into the form with
numerous words html wrapped with Bold or Red...
If you are in an Intranet setting and are using IE, you can use an
editable DIV to hold the formatted text, and then when you go to submit,
Hey this is really good... its not an Intranet, but I think for the first
time in my life I want to say screw my own rules... and require IE
Now I need to
At 11:47 AM 8/1/03, you wrote:
editable DIV to hold the formatted text, and then when you go to submit,
copy the innerHTML or innerText value from the div to a hidden field...
Just a pointer please - how to copy the innertext to a hidden field?
Developer
[EMAIL PROTECTED]
-Original Message-
From: Rafael Alan Bleiweiss [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 11:27 AM
To: CF-Talk
Subject: RE: CF tag for highlighting text in a textfield?
At 11:47 AM 8/1/03, you wrote:
editable DIV to hold the formatted text
Certified ColdFusion MX Developer
[EMAIL PROTECTED]
-Original Message-
From: Rafael Alan Bleiweiss [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 11:27 AM
To: CF-Talk
Subject: RE: CF tag for highlighting text in a textfield?
At 11:47 AM 8/1/03, you wrote:
editable DIV to hold
div id=mycontent style=overflow: scroll CONTENTEDITABLE/div
input type=button value=copy to text box
onclick=htmltotext();/button
form name=myform
textarea id=plaintext name=plaintext cols=80 rows=6/textarea
input type=button name=txt2html value=copy to HTML box
onclick=text2HTML();
/form
SIGH
13 matches
Mail list logo