I don't want this:
<textarea>The <b>color</b> is black.</textarea>
Instead of the <b>
and </b>
i want the text "color" to be shown in bold.
Is this possible?
I don't want this:
<textarea>The <b>color</b> is black.</textarea>
Instead of the <b>
and </b>
i want the text "color" to be shown in bold.
Is this possible?
You Can't style the content of a text area separately, you have to use <div>s, or something similar. This may be a duplicate of:
Do you Want Something like this:?
http://jsfiddle.net/mekwall/XNkDx/
$('.editable').each(function(){
this.contentEditable = true;
});
this allows you to edit the content of a div, and it will still look like a textarea,
Bold Works.
For these cases, avoid use something pure text area, use wysiwyg html editor.
Here are some ideas for you: