Re: Removing bullets from textarea
John, Yes, I did. It works well for black circle bullets. The problem is with the white circle bullets and square bullets. Thanks -Joy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357054 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Removing bullets from textarea
Dan, The hex code works for the black circle bullet, but not for the white bullet. Here is what I found and worked around to do the job. I found that white bullet from word document is not a bullet; it is a small letter 'o' I put a letter 'o' and the code for tab together. It works! Here is javascript: str.replace(/\o\t/g, . ); -Joy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357055 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Removing bullets from textarea
John, I did use Replace function, but circle and square bullets still do not work. I tried all the following number codes chr(8220),chr(8221),chr(8226),chr(2022),chr(25E6),chr(9702),chr(2043),chr(9675),chr(9702),chr(9642),chr(9643),chr(9632),chr(9633) Thanks Joy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357051 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Removing bullets from textarea
Did you use http://cflib.org/udf/convertSpecialChars On Nov 5, 2013 3:07 PM, Joy Paulose kalappura...@hotmail.com wrote: John, I did use Replace function, but circle and square bullets still do not work. I tried all the following number codes chr(8220),chr(8221),chr(8226),chr(2022),chr(25E6),chr(9702),chr(2043),chr(9675),chr(9702),chr(9642),chr(9643),chr(9632),chr(9633) Thanks Joy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357052 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Removing bullets from textarea
You'd need to convert the hexidecimal numbers to standard decimal numbers. The chr() does not work with hexidecimal values. -Dan On Tuesday, November 5, 2013, Joy Paulose wrote: John, I did use Replace function, but circle and square bullets still do not work. I tried all the following number codes chr(8220),chr(8221),chr(8226),chr(2022),chr(25E6),chr(9702),chr(2043),chr(9675),chr(9702),chr(9642),chr(9643),chr(9632),chr(9633) Thanks Joy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357053 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Removing bullets from textarea
Hi, I want to remove bullets and other strange characters from textarea. if the user enters the text by copying and pasting from Word, it does not display properly. On submission, the bullets and the double quotes basically turn into a ? (question mark). Did anyone ever find a solution for this? Thanks Joy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357025 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Removing bullets from textarea
Run the entry through a REReplace and only allow characters you want in there. On Mon, Nov 4, 2013 at 1:08 PM, Joy Paulose kalappura...@hotmail.comwrote: Hi, I want to remove bullets and other strange characters from textarea. if the user enters the text by copying and pasting from Word, it does not display properly. On submission, the bullets and the double quotes basically turn into a ? (question mark). Did anyone ever find a solution for this? Thanks Joy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357026 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Removing bullets from textarea
http://cflib.org/udf/convertSpecialChars On Mon, Nov 4, 2013 at 4:08 PM, Joy Paulose kalappura...@hotmail.comwrote: Hi, I want to remove bullets and other strange characters from textarea. if the user enters the text by copying and pasting from Word, it does not display properly. On submission, the bullets and the double quotes basically turn into a ? (question mark). Did anyone ever find a solution for this? Thanks Joy ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357027 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm