title: \n or <br\> is not working in javascript
body: <p>I am setting value of hiddenfield from code behind in vb.net</p>
  
  <pre><code>If(condition)
  hdmodulename.Value =Dt_Module.DefaultView(0).Item("vModuleCode").ToString() +
   "-" + Dt_Module.DefaultView(0).Item("vModuleName").ToString()
  
  Else
  
  hdmodulename.Value = hdmodulename.Value + "'\n'" + Dt_Module.DefaultView(0).Item("vModuleCode").ToString() + "-" + Dt_Module.DefaultView(0).Item("vModuleName").ToString()
  End If
  </code></pre>
  
  <p>now alert in javascript
  i code like below:</p>
  
  <pre><code>alert('You cannot select ' + document.getElementById('&lt;%=hdmodulename.ClientID%&gt;').value);
  </code></pre>
  
  <p>Output : </p>
  
  <blockquote>
    <p>'\n' is printed inseted of new line</p>
  </blockquote>
  
  <p>so what is the probem??
  Thanks A ton in advance</p>