New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two instances of printer popup loading #98
Comments
Hello, Printout Form <script> jQuery(function($) { 'use strict'; $(".payment_processing_check_by_mail").find('#print_giftcert_check_mo_mailform').on('click', function() { //Print with custom options $(".giftcert_checkmailform").print( { globalStyles: true, mediaPrint: true, stylesheet: null, noPrintSelector: ".no-print", iframe: true, append: null, prepend: null, manuallyCopyFormValues: true, deferred: $.Deferred(), timeout: 750, title: null, doctype: '' }); }); }); </script> |
Printout Form |
`<script>
</script>` |
You are calling it twice, once in the HTML onclick and then the script tag |
Hello Sathvik, thanks a lot. I appreciate your help. One more question. I am having difficulty figuring out how to get a select/options value to show up in the print. Can you help me to achieve this?
Thanks,
Kenny
…--------------------------------------------
On Sun, 8/19/18, Sathvik Ponangi <notifications@github.com> wrote:
Subject: Re: [DoersGuild/jQuery.print] Two instances of printer popup loading (#98)
To: "DoersGuild/jQuery.print" <jQuery.print@noreply.github.com>
Cc: "drkrtj" <drkrtj@yahoo.com>, "Author" <author@noreply.github.com>
Date: Sunday, August 19, 2018, 4:03 PM
You are calling it twice, once in
the HTML onclick and then the script tag
—
You are receiving this because you authored the thread.
Reply to this email directly, view
it on GitHub, or mute
the thread.
|
Expected behaviour
Observed behaviour
Steps to reproduce the issue
Simplified demo link reproducing the issue
jQuery, jQuery.print version
Browser and operating system
The text was updated successfully, but these errors were encountered: