title: Bootbox execute request after confirmation
body: <p>I want to add a confirmation pop-up on a link in rails. Since the default css for the browsers confirm: method can't be changed, I decided to use bootbox. ( <a href="http://bootboxjs.com/" rel="nofollow">http://bootboxjs.com/</a> )</p>
  
  <p>Let's say I have the following link in my rails application</p>
  
  <pre><code>= link_to "asd", root_path(), id: "test"
  </code></pre>
  
  <p>The following javascript code opens a pop-up , the result is set correctly, what I need now is to perform the link access if the user approved the confirm.</p>
  
  <pre><code>$("#test").click(function(e) {
    e.preventDefault();
    bootbox.confirm("Are you sure?", function(result) {
      if (result) {
          // ???
      } else {
          return false;
      }
    });
  });
  </code></pre>