Getting textarea value with line breaks

Getting textarea value with line breaks

I have a textarea, and i am adding some text in it dynamically(with line breaks) that could look like this:
a
b
c
Now when i get the value of this textarea:
var strInput = $('#myTextareaID').val();
It returns:
'abc'
So without the line breaks. How can i get my text with line breaks or space between them, i need those lines individually.

Thanks in advance.