HI frnds,

I have 3 tabs

<div id="first"> Contents of 1st tab </div>

<div id="second"> Contents of 2nd tab </div>

<div id="Third"> Contents of 3rd tab </div>

and I have a javaScript which is generic and parse the jsp to display printer friendly page in new popup window. This usually looks for text and text area fields and all other buttons and links are disabled.

The problem actually is when I am on 1st tab and click printer friendly it shows the content of 1st tab and also when I am on 2nd tab it still shows the content of 1st tab and same thing for 3rd tab. How to fix this defect.

I cannot change the javaScript as it is generic for all other pages too. I have issue only with this specific page.