Title: [SOLVED] Set value to textbox, multiline Post by: Pierre on May 18, 2016, 03:09:41 AM Hello
how to set multiline value to textbox from HTML? If I using it in JS, it works: $('#tb').textbox('setText', "first\r\nSecond"); but when declaring textbox in the html, it does not display 2 lines, but only one: <div><input class="easyui-textbox" data-options="multiline:true" id="tb" value="first\r\nSecond"></div> thank you. Title: Re: Set value to textbox, multiline Post by: jarry on May 18, 2016, 07:17:37 PM Please try this code instead.
Code: <textarea id="tb" class="easyui-textbox" data-options="multiline:true" style="width:300px;height:100px">first Title: Re: Set value to textbox, multiline Post by: Pierre on May 19, 2016, 04:25:11 AM Awesome, it works perfect, thank you.
|