title: Window.Print() not working in chrome/Firefox
body: <p>I am using the following code to print the content in the div. It is woinking fine in IE but it showing blank screen in chrome and firefox.</p>
  
  <p>Code:</p>
  
  <pre><code>var DocumentContainer = document.getElementById('TermsMainDiv');
      var WindowObject = window.open('', "PrintWindow", 
  "width=800,height=700,top=200,left=200,toolbars=no,scrollbars=yes,status=no,resizable=no");
      WindowObject.document.writeln(DocumentContainer.innerHTML);
      WindowObject.document.close();
      WindowObject.focus();
      WindowObject.print();
      WindowObject.close();
  </code></pre>