title: Button redirect not working
body: <p>Can someone tell me why this is not working:</p>
  
  <pre><code>&lt;button class="btn danger" id="delete" onclick="return $(location).attr('href','http://yahoo.com');"&gt;Delete&lt;/button&gt;
  </code></pre>
  
  <p>I have this placed in a form just beside the submit button. When it's clicked, it's like I clicked the submit button.</p>