Hi All I want to take a print out of my jsp page but if i use java script's window.print() function it will print whole jsp page but i want to take print of some selectd portion .. can any body sugess how can i do that??
And please tell when should i ask java script related questions.
You need to look into CSS with print media. You can search google and find tutorials on implementing it. Basicallyyou have two style sheets oon the page. The print media only shows up when the page is printed so you can hide the elements you do not want shown.
Joined: Jan 16, 2005
Thanks Eric, For reply . But i don't understand "You need to look into CSS with print media" ? can explain me in more detail or can you give some link for that ?