I have an html form with a large number of various textboxes containing data. I have a button the bottom of that page that says Print. Now I do not want to print the entire page. I want only the values of certain textboxes to be printed out on paper when that button is pressed.
Javascript is the route I was looking for…
Can someone just give me the basic code to print out the content of one box?
one example please
************EDIT****************
It appears as if my question was poorly worded. What I want to do is grab data from these html input text boxes and load it up on a new page after the print button is pressed and print that new page. I want to know how to grab that data from the boxes, and paste it on the popup page.
Add in your page header:
Now keep your standard CSS in view.css. In print.css add styling to format/hide/show elements you want to see on paper.