Hello,
This is in SP 2010.
I would like to show a data ( value ) of one multi line field - plain text into div tag and I am using ECMA script to display the value in that div tag.
The only problem is it is not getting properly displayed. Example - If there is a line between two sentences in the field value, it is displayed on the same line. I would like to display it exactly like it is there in the list field.
Any pointers would be highly appreciated. My first preference is going with jQuery only not from server side. If there is no alternative, please suggest to show it from server side. I can make di runat server and then write code. But preference ECMA + jQuery. Another thing when I used asp:TextBox with readonly property it displayed value in correct format. But I want that to be displayed in div because I need vertical scroll.