I'm having some trouble to print a form. It is a table, and the bottom row is an html which shows an Iframe of another table. Then, I inserted this print button at the footer of the data page: <input onclick="window.print();return false;" type="button" value=" Imprimir Orden de Compra " />
But it shows the whole page, and I just wanted to print the form, so I tried: <input type="button" onclick="printDiv('caspioform')" value="Print caspioform" />
It prints the form, but the iframe with the second table at the bottom of the table is not printed, even when it is displayed in the Datapage. Someone knows how can I add both the main form and the iframe to be printed?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Jonagold
Hi everyone!!
I'm having some trouble to print a form. It is a table, and the bottom row is an html which shows an Iframe of another table. Then, I inserted this print button at the footer of the data page: <input onclick="window.print();return false;" type="button" value=" Imprimir Orden de Compra " />
But it shows the whole page, and I just wanted to print the form, so I tried: <input type="button" onclick="printDiv('caspioform')" value="Print caspioform" />
It prints the form, but the iframe with the second table at the bottom of the table is not printed, even when it is displayed in the Datapage. Someone knows how can I add both the main form and the iframe to be printed?
Thank you very much in advance,
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.