lofaifa Posted March 26, 2012 Share Posted March 26, 2012 i want to do some instant coloring when the user click a button but when i used .html() method or anything else the tags just appear without any effect .. how to make the same effect of tags inside textarea tag ?? Link to comment https://forums.phpfreaks.com/topic/259747-can-i-apply-html-tags-inside-a-textarea-with-javascript/ Share on other sites More sharing options...
lofaifa Posted March 26, 2012 Author Share Posted March 26, 2012 everything is a text , this is my probem ! <textarea id="question_text" class="question" name="question_text"> <b>hey</b> <i>test</i> </textarea> Link to comment https://forums.phpfreaks.com/topic/259747-can-i-apply-html-tags-inside-a-textarea-with-javascript/#findComment-1331280 Share on other sites More sharing options...
Proletarian Posted March 26, 2012 Share Posted March 26, 2012 I do not think you can format text in a textarea. But, thanks to this miracle called Google, I found someone who posed a similar question and got some answers you might want to try out; maybe this will help. www.webmasterworld.com/forum21/10080.htm Link to comment https://forums.phpfreaks.com/topic/259747-can-i-apply-html-tags-inside-a-textarea-with-javascript/#findComment-1331324 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.