This:
$('#myDiv').val( $('#myDiv').val() + "\n")
is not adding a newline in IE. Is there a say to overcome this problem without actually appending <br> instead of \n? I’m doing parsing later in the code and that is why I can’t use <br> instead of \n.
If you want to make it visible you have to add two new lines.
Use
htmland<br>instead.Blank lines will only be visible if you have another after that or it contains some text.