title: Javascript (JQuery) - How to disable Ctrl + P for Chrome
body: <p>One of mine application having custom button to print the customer invoice bill. &amp; browser also having default print option (Cntrl + P) to print the window content.</p>
  
  <p>Initially, i resolved this problem by adding,</p>
  
  <pre><code>$(document).ready(function(){
      $(document).keydown(function(event) {
          if (event.ctrlKey==true &amp;&amp; (event.which == '80') { //cntrl + p
              event.preventDefault();
          }
      });
   });
  </code></pre>
  
  <p>But I feel, this is not feasible solution for this. because am here binding this(keydown) event on document. so on each and every key press on application it firing this(keydown) event, &amp; so which is very critical as per as the performance concern..</p>
  
  <p>Is there any other-solution for this, so that i could disable the <strong>cntrl + p</strong> (without binding event)?</p>
  
  <p><strong>Note:</strong> Important and good thing is our customer uses only google chrome browser to access this application..</p>
  
  <p>Best Regards.</p>