javascript - Show formatting in input text html -


is there anyway show text in input text , not hmtl. mean: is</b> bold"/>

i see in text input this is bold

for output of input text.

is there way that? 'cos see in output: <\b>this is<\b> bold

short answer? no. rich text not feature of html text input fields.

if looking full scale what-you-see-is-what-you-get (wysiwyg) editor, check out tinymce or aloha. use several iframes , other trickery provide rich text input.

imo, should use plain text , markup language. take @ stackoverflow implements on site asking/answering questions. <text area> input accepts markdown input , writes html preview separate element on page.

in end, choice depends on user base. if programmers , tech heads, safe use markup language , <text area> input. if typical service consumer, tinymce or similar might best bet usability.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -