Rune Thandy Posted February 1, 2006 Share Posted February 1, 2006 I’ve got two different forms on a page and I’d like to make two print buttons at the bottom of the page.One to print the first form and the other one to print the second form.How do I do this? Link to comment Share on other sites More sharing options...
aspnetguy Posted February 1, 2006 Share Posted February 1, 2006 I don't think you can. You could use window.print() on a button but that prints the whole page.You could have in addition to the page that contains the 2 forms 2 other pages (1 of the forms on each page). Then depending on the button that is clicked you could redirect to the correct page that could be set to auto print on load. Link to comment Share on other sites More sharing options...
Rune Thandy Posted February 1, 2006 Author Share Posted February 1, 2006 It's not exactly how I'd like it, but I'll give it a try. Link to comment Share on other sites More sharing options...
aspnetguy Posted February 1, 2006 Share Posted February 1, 2006 That is the only way I know to get the result you want. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now