View Full Version : Print Page help please

05-24-2006, 02:45 PM
I have an html page with a text link PRINT THIS PAGE to print part of the page.
I have used the following script

<a href="javascript:void(printSpecial())">PRINT THIS FORM</a>

The problem is that when the link is clicked on it opens an about: blank page before printing.

Could you please tell me why this page is opening and what I can do to stop it and just print the page I want.

All help much appreciated

05-24-2006, 03:24 PM
change it to an onClick event like so

<a href="javascript:void(0)" onClick="printSpecial()">PRINT THIS FORM</a>