How to pop-up print dialog box using Javascript?

You can use:


The print() method prints the contents of the current window. It opens the Print Dialog Box, which lets the user to select preferred printing options.

One comment

  1. Hi There,

    Thank you for making your blogs an embodiment of perfection and simplicity. You make everything so easy to follow.
    Hello, trying to find all paths in matrix, the problem is with the left turn but as for now, after working with a debugger I found that the right call doesn’t registered pass the positions i2 j1
    So, when it was i2 j0 it went right in position with the marked call in the picture but on the second time it needed to proceed right it fails to do so, but it is odd since it seems like the call is registered, just seems like j is not increased to 2 for some reason. This is not an assignment BTW. Thank you.
    Can’t attach a picture of it unfortunately…
    Further, sometimes it’s not possible to make any design changes because of the way in which application code is written. It is suggested that first other tuning techniques should be applied and if still there is a need of increasing the performance numbers, tuning should be done.
    Excellent tutorials – very easy to understand with all the details. I hope you will continue to provide more such tutorials.

    Thanks and Regards,

Join Discussion

This site uses Akismet to reduce spam. Learn how your comment data is processed.