Using below lines in print Javascript is working fine except one new issue:
var panelBody = document.getElementById("panelbodydiv");
panelBody.removeAttribute("Style");
Since the style has been removed, so when I click on "Print" button, print window workes fine but my Modal Pop up style/design removes which disturbs the look and feel of Modal Pop up.
Please find the attached snapshot:
http://imageshack.com/a/img661/8860/Od4wSj.png
Please reply how to solve it.