title: ASP.NET Using slash in alert()
body: <p>I would like to prompt the path of the excel file to the user. But I cannot include slashes in the alert function. Here goes my code that works:</p>
  
  <pre><code>Dim sb As New System.Text.StringBuilder() 
  sb.Append("&lt;script type ='text/javascript'&gt;window.onload=function(){alert('C:')};&lt;/script&gt;")
  </code></pre>
  
  <p>However, because I need to alert user regarding the path, I need to put e.g. <code>C:\Program Files\New Folder</code>. But when I insert the slash '\' the <code>alert()</code> will not work. Please guide me. Thanks in advance!</p>