Tuesday, 15 July 2014

php - How to show tag in input value -



php - How to show <br> tag in input value -

i want show value in input style <br> , <b> tags , wouldn't utilize <textarea> because using jquery easy ui formatting forms. when

i try:

<input class="easyui-textbox" data-options="multiline:true" style="height:100px; width:250px" name="edu" value="a<br>b">

its show : a<br>b

i seek this :

<input class="easyui-textbox" data-options="multiline:true" style="height:100px; width:250px" name="edu" value="a&lt;br /&gt;b">

and see same result.

help me. thanks

usually textarea used rendering multiline elements, since i'm sure internally easy-ui uses render multiline textboxes, can do:

<input ... value="a \n b">

...or other variations \r or \r\n.

php html jquery-ui input

No comments:

Post a Comment