I am using this jquery to add some elements of the page and add them to a text area
$('#chk_editor').append($('#greeting').text()).append('\n \nI want it to be known that').show();
Internet Explorer ignores the /n, I found this question that addresses the issue with split()
Javascript split() not working in IE
I’m not sure how to implement it into my code, any help appreciated.
Try using
\r\n.This is the Windows style line ending.
\nis the UNIX style line ending.