Hi,
i need help.
I have a dynamically created website with a textarea ...
<textarea id="input_551_702_O2050_702" data-bind="value: values.input_551_702_O2050_702.current" class="k-textbox" style="height: 114px; width: 300px;"></textarea>
and a viewmodel.
I try to bind a value
"Praxis\r\nDr. Eugen Knollmüller\r\nDr. Eugen Knollmüller jun.\r\nDr. Sandra Knollmüller"
which works.
How do i get linefeeds in my textarea.
I tried <br\>, \n, \r\n .... but the textarea always show the correct value ... but no linefeeds.
the hole viewmodel is also dynamically generated.
.....
$(function () {
...
lecore.page_510.viewModel = kendo.observable({
values: {
.....
input_551_702_O2050_702: {
initial: 'Praxis\\r\\nDr. Eugen Knollmüller\\r\\nDr. Eugen Knollmüller jun.\\r\\nDr. Sandra Knollmüller',
current: 'Praxis\\r\\nDr. Eugen Knollmüller\\r\\nDr. Eugen Knollmüller jun.\\r\\nDr. Sandra Knollmüller',
refObject: 'O2050'
}
....
...
Regards
Jürgen