Created
December 30, 2020 14:03
-
-
Save reachkamrul/f874062701f682ac161f8e9a3c170398 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery( '<button class="ninja_button btn custom_print" style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255);">Custom Print</button>' ).insertBefore( ".ninja_button_print" ); | |
jQuery('.custom_print').on('click', function(){ | |
window.print(); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment