title: Why does this not cause a browser redirect?
body: <pre><code>if (selectedddItem.toString().indexOf("6ft with two") &gt; -1) {
    window.location = "http://www.google.com/";
    alert("just passed over");
  }
  </code></pre>
  
  <p>The alert window opens so the condition is true... however the browser doesn't redirect?!?!</p>
  
  <p>Any thoughts?</p>