Hi, my javascript does not working after I retrieve a record that contains square symbol in the database.

The square symbol should be a newline in a textarea.

This is how the record "looks" in the table:

http://img40.imageshack.us/img40/7204/capture1mp.jpg

Actually, I am inserting the record using ASP and the value with square symbol is the value from a textarea with newline/enter. After that I retrieve the value using ASP and pass it to javascript and then the page is not working. If I retrieve other record which contain no square symbol then the script is working.

Please help on this, appreciates!

Kor

12-10-2009, 10:15 AM

Hi, my javascript does not working after I retrieve a record that contains square symbol in the database.
You should not retrieve square symbols from DB. Make sure first that both DB and your document use the same charset - the best choice would be utf-8