Cybian
02-08-2002, 02:12 AM
Hello all. At first this might seem as a ColdFusion problem but it is actually a client (browser) problem.
I have a content mangament system that users can create content for the site. I have some JavaScript buttons for users to add Quotes and the trademark symbol (TM) among other things. Everything uploads fine from the form to the database. The escape characters like " stay as the escape character in the SQL db.
My problem is when I try to edit the record and the form retrieves the info from the database. For certain escape characters, the browser will display the actually character. Example would be for ", now actually quotes are displayed in the textarea box. Same thing for the amp sign. Where & will be in the database, now when I query the record and display it in the textarea box of the form, the actually amp sign is shown.
Is there a script that will force raw HTML code to be displayed in the textarea box? That's great that my browser is trying to interpret raw HTML in the textarea box, but I do not want that.
Thanks in advance!
I have a content mangament system that users can create content for the site. I have some JavaScript buttons for users to add Quotes and the trademark symbol (TM) among other things. Everything uploads fine from the form to the database. The escape characters like " stay as the escape character in the SQL db.
My problem is when I try to edit the record and the form retrieves the info from the database. For certain escape characters, the browser will display the actually character. Example would be for ", now actually quotes are displayed in the textarea box. Same thing for the amp sign. Where & will be in the database, now when I query the record and display it in the textarea box of the form, the actually amp sign is shown.
Is there a script that will force raw HTML code to be displayed in the textarea box? That's great that my browser is trying to interpret raw HTML in the textarea box, but I do not want that.
Thanks in advance!



