Hi, I am using ExtJS text area on a form, which posts the data to a cfm page, which in turn stores the data into MySQL database.
Then I use CF to get data out of database, and convert the data to json using toJSON.queryToJSON which sends the data to an ExtJS grid. If the user hits the enter key in the text area the data seems to be getting saved ok, but when it gets converted to JSON to send to the ExtJS grid, it is resulting in an error yet I cannot seem to work out why. I have been looking at a few posts in relation to handling the new line on text areas but have gotten very lost. Should i be using the convert function on the ExtJS grid store to convert the string when the ExtJS grid receives it? If so does anyone have any examples on how to do this? Can anyone help point in the right direction, or have any examples I can follow. many thanks Richard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:340930 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

