Hi,

Just started getting into jQuery yesterday. Question: How can I place
line breaks in alert box text?

[code]

      var message = "";
      message += "Your Ticket# is: " + $(xml).find("rid").text() + "
Please make a note of it.";
      alert(message);

[/code]

The part, " Please make a note of it." I want on a new line.The usual
\n does not help in this case.

Thanks for any help.
Chris

Reply via email to