title: window.print() not working in ie and already tried proper fixes
body: <p>I would like to print a whole page when a button is clicked. I am using window.print() but its not working for ie. I googled for a solution but nothing hellped. Maybe someone know what I am doing wrong.</p>
  
  <p>MyCode:            </p>
  
  <pre><code>$('#PrintTool').click(function () {
  var printVal = document.documentElement.innerHTML;
  var newWin = window.open();
  newWin.document.write(printVal);
  newWin.document.close();
  newWin.focus();
  newWin.print();
  newWin.close();
  });
  </code></pre>
  
  <p>I hope you can help me</p>