Facny box print callbacks
问题 I am working with fancybox2 and I need to add some custom functions before pdf goes to print queue means I need fancybox print callbacks(like before print,after print), Can anyone please help me ? I tried window.print() callbacks but those are not working in case of fancybox print , following are the sample I used $(function(){ var beforePrint = function() { alert("BEfore print") console.log('Functionality to run before printing.'); }; var afterPrint = function() { console.log('Functionality