title: linking a button to another page in SweetAlert
body: <p>am i using sweet alert and i have 2 buttons; one is cancel button and the another one is continue button. i want to link the 'continue' button to another page that is 'trial.php'. how can i proceed with this? below is code i've tried:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>if(m &lt;= 2){
    swal({
      title:"dataset file is: "+  ""+size2 +"Mb",
      text: "a cluster of 1 node will be required for processing",
      buttons: {
        cancel: true,
        confirm: "continue"
      }
    })</code></pre>
  </div>
  </div>
  </p>