Print not working as desired in Lightbox
Hi, I have created a lightbox form and at the a confirmation page within lightbox. In the confirmation page, I have kept an option of Print button, with the code as:
That button works properly, but it prints whole page. I need to print only the Data portion. I have tried to open new window. But that doesn't work from lightbox. What else I may try, please?
<input type="button" value="Print" onclick="if(window.print)window.print();return false;">
Thanking you in advance.