title: Javascript confirm box redirect to dynamic URL
body: <p>This is what I am trying to do, but it does not work. Any solutions?</p>
  
  <pre><code>window.location = "delete.php?case=&lt;?php echo $case; ?&gt;"
  </code></pre>