Emmmanuel FIADUFE

Emmmanuel FIADUFE

  • 791
  • 1.1k
  • 53.7k

My print out shows the sidebar and buttons when printing document

Mar 17 2023 2:45 PM

Hello team, am using bootstrp template in ASP.NET MVC and when I tried to print with this code it print buttons and the sidebar all together please can one help me. thank in advance. 

$('#invoice-printed').click(function(){
            Popup($('.invoice')[0].outerHTML);
            function Popup(data) 
            {
                window.print();
                return true;
            }
        });


Answers (10)