I don’t know well jquery ui.
Is exist plugin for printing jquery dialog content/some code (Only print dialog content and not all webpage)
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the
jqPrintplugin for this, and you can try a demo here.Usage is pretty simple:
This opens the print dialog and you’re all set. In case you’re wondering about the internals, you can see the script here, it makes an
<iframe>, copies your content over and triggers a print on it. This isn’t jQuery UI specific at all, just use the same selector as you use to define the dialog (or another, whatever you want to print!) and that’s it.