title: Bootstrap data table after click on print button application not responding
body: <p>I'm using <a href="https://datatables.net/extensions/buttons/examples/initialisation/export.html" rel="nofollow">Data tables</a>, As requirement I was implemented the print functionality I initialized the bootstrap data table with following code.</p>
  
  <pre><code>  var dataTableObj = {
      "scrollX": true,
      "destroy": true,
      "columns": [{
          "data": "FirstName"
        }, {
          "data": "CollegeName"
        }, {
          "data": "Gender"
        }, {
          "data": "Qualification"
        }, {
          "data": "Branch"
        }, {
          "data": "EmailID"
        }, {
          "data": "Phone"
        },
        /*{
            "className": "downloadOfferletter",
            "data": "OfferLetter",
            "bSortable": false
        }*/
      ],
      dom: '&lt;l&gt;Bfrtip',
      buttons: [{
          extend: 'excel',
          title: 'Students'
        },
  
        {
          extend: 'pdf',
          title: 'Students'
        }, {
          extend: 'print',
          title: 'Students'
        },
  
      ],
      fnRowCallback: function(nRow, aData, iDisplayIndex) {
        $('td:eq(0)', nRow).html('&lt;a href="#students/add/' + aData['StudentID'] + '"&gt;' +
          aData['FirstName'] + '&lt;/a&gt;');
  
        return nRow;
      },
    };
  </code></pre>
  
  <p>Here the problem is when I click on print button it will open a new tab it was showing the print window, this is fine.</p>
  
  <p>When I come back to my application[Previous opened browser tab] without closing the print window[tab] the application is not responding.</p>
  
  <p>Can anyone please give suggestion to fix this, If we can't fix this Is there any possibility to open the print window in the same window which is my application window.</p>