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; } });