[jQuery] Re: line breaks in alert boxes

2009-04-30 Thread Jordon Bedwell
JQuery does not control alert boxes because that is your browsers end. And yes \n works. I don't see the \n in your alert at all. alert(1 + '\n' + 2); -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of 508! Sent: Tuesday, April 28, 2009

[jQuery] Re: line breaks in alert boxes

2009-04-28 Thread MorningZ
Not really sure where jQuery would come in the equation, but \n is a linebreak in JavaScript and works inside an alert string so var message = Your Ticket# is: + $(xml).find(rid).text() + \nPlease make a note of it.; On Apr 28, 12:23 pm, 508! chriskgre...@gmail.com wrote: Hi, Just