Trapping Ctrl + P In Javascript And Calling A Custom Function For Printing
I have a webpage where i show billing information in a pop. This popup is a DIV and not an new window. In that popup there are two div's one is to hold the print and close button a
Solution 1:
I think a better solution would be to control rendering through @media
rules in your CSS, or include different stylesheets based on the media type. You can then use CSS properties like display
to hide some elements for printing, or even give them different sizes and positions.
Post a Comment for "Trapping Ctrl + P In Javascript And Calling A Custom Function For Printing"