title: Using Bootstrap modal instead of Colorbox
body: <p>I have the following javascript which triggers colorbox to open specific PHP pages with parameters on the server:</p>
  
  <pre><code>$(document).ready(function() {   
      $('#example tbody').on( 'click', 'input', function () { 
          var data = table.row( $(this).parents('tr') ).data();
  
          $(".iframe").colorbox({iframe:true, width:"700px", height:"80%", href:"session_edit.php?ID="+data[0]});
          $(".iframe2").colorbox({iframe:true, width:"700px", height:"80%", href:"index_b.html?ID="+data[0]});
          $(".iframe3").colorbox({iframe:true, width:"300px", height:"20%", href:"delete.php?ID="+data[0], onLoad: function() {
              $('#cboxClose').remove()        
          }});
  
      });
  });
  </code></pre>
  
  <p>No I would like to make use of Bootstrap modal instead of colorbox. I have tried:</p>
  
  <pre><code>$("#iframe").modal('show');
  </code></pre>
  
  <p>But it does not work and do not also know how to specify the PHP file with ?ID=</p>
  
  <p>Any idea how I can solve this please?</p>
  
  <p>thanks</p>