title: Line break in jquery/ javascript
body: <p>nowadays i am upto java script, jquery etc. i am facing little problem.</p>
  
  <p>i am writing a text message inside CASE block , it's a long string when displayed:</p>
  
  <pre><code>Record has been saved successfully Note: If head already exists for the concerned department than your head selection would not have been saved. 
  </code></pre>
  
  <p>but i want it like this:</p>
  
  <pre><code>Record has been saved successfully 
  Note: If head already exists for selected department 
  than your head selected would not have been saved.
  
  function ShowMsg() {
          var MessageStatus = $("#HiddenFieldSetMessage").val();
          switch (MessageStatus) {
              case 'SavedButHeadMightExist':
                  $("#Msg").text("Record has been saved successfully Note: If head already exists for the concerned department than your head selection would not have been saved");
                  $("#ModalHeader").text("Success");
                  break;
              case 'NotSaved':
                  $("#Msg").text("Record not inserted");
                  $("#ModalHeader").text("Error");
                  break;
      }
      &lt;/script&gt;
  </code></pre>