DelphiFAQ Home Search:
General :: Web publishing :: JavaScript :: Events
Questions, answers and code examples dealing with javascript event handlers.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

How do I trap the right-click -> print event?

You cannot trap specifically the selection of the print command in the menu but you can intercept and disable the popup menu with this code:

<script>
   // tested in IE 5 and 6
 
   document.oncontextmenu = function(){return false}
 </script>
 

Generated 8:02:26 on Oct 23, 2017