What to append to get a CRLF into an IE Textarea

What to append to get a CRLF into an IE Textarea

I want to append some text to a form textarea:


$('#orderArea').append(" #The Title is Here");

   .
   .
   .

<form id="faxForm" method="post" action="order.aspx">
             <textarea name="order" cols=75 id="orderArea" rows=30></textarea>
             <input type="submit" value="Submit" />
</form>

The problem is that the I'm using to generate CRLF isn't recognized by IE so the submitted form all goes on one line.  FF and Chrome know exactly what to do with so I  work fine there. So what should I append to get IE to put a CRLF in the textarea.  I've tried

                        $('#orderArea').append(" The Title is Here");

$('#orderArea').append( + "The Title is Here");

Thanks for any ideas.

Thanks.



    • Topic Participants

    • stva