I am trying to get span content with carriage return on key up event but i could not able to achieve it.
I've one text field
and div
to display what I've typed in text field and I've to save div content with carriage return value.
I've tried an example updating div on text filed key up event when i am typing div content is getting auto wrap but I've no idea who to get div content with carriage return value.
Here is my example http://jsbin.com/UtodICI/1/edit