White spaces in AW.HTML.TEXTAREA content
I've now encountered the following problem and need help:
1. I am using AW.HTML.TEXTAREA in one of my interfaces as follows:
var comment = new AW.HTML.TEXTAREA;
2. I fetch theCommentFromMyDatabase from my MySQL database and insert it into the comment control using:
When the theCommentFromMyDatabase does not contain any white spaces I have no problems - everything works fine.
However, when theCommentFromMyDatabase contains white spaces (type: \r\n - carriage returns and line feeds) my module fails completely.
I've searched all over the documentation and have tried various work-arounds but all in vain.
Can anyone please give me a hint as to how I can solve this problem ?? It is very important for my evaluation since I need modifiable TEXTAREAs in my interfaces which are stored in my database.