title: give user options when clicking on bootstrap button
body: <pre><code>echo "&lt;a href=\"delete.php?id=$result[exportid]\"&gt;&lt;button type='button' class='btn btn-danger btn-xs glyphicon glyphicon-remove-circle'&gt;&lt;/button&gt;&lt;/a&gt;";
  </code></pre>
  
  <p>The button above loads delete.php</p>
  
  <p>When the user clicks on the button i want to display a yes/no window. If the user clicks yes, it needs to load the delete.php(with id info). When click no it needs to load an other php file.</p>
  
  <p>what is a good way to do this? i have tried using  JavaScript but can't get it to work.</p>