Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: HTML Textbox editor
08-09-2007, 04:38 PM #1
- Join Date
- Mar 2007
- Thanked 0 Times in 0 Posts
HTML Textbox editor
I'm working with an JS Editor (FCKEditor) and in the editor window I want to display some text that shows up, but the user cannot edit that text.
I thought of placing a DIV around the text; However, the DIV still allows the user to edit the text. Does DIV has a disable or readonly property? I tried onClick but could not stop the user from modifying the text.
I even thought of placing the text in a text area and using either disable or readonly; however, it does not convert the HTML markup as it should look.
Is there a way to display HTML code in a text area that will actually show up as it will be displayed?
If someone could point me in the right direction it would be greatly appreicated!