Spongebob Squarepants wrote: >Can anyone tell me if there is a way to highlight just the text within a TEXTAREA >box? I know I can change the background color but I only want the text highlighted. > >How? > > http://developer.irt.org/script/171.htm
This script highlights text anywhere in a page. You should be able to relatively easily change the document references to use a reference to the textarea instead. Just so you know, this is a pure JavaScript question and CF won't come into this at any point. You would be better, once you've looked at the script above, to pose your question on the JS-Jive list. http://groups.yahoo.com/group/JS-Jive/ The JS-Jive list is populated by some very talented developers in both client-side (js) and server-side (cf/php/asp) languages. Hope that helps Regards Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:15:459 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
