View Single Post
 
Old March 29th, 2005, 09:46 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

I've never tried to do this. Normally you need to focus on the iframe before calling the print function. I don't know if you can with this scenario.
Code:
var oFrame = window.frames["<iframeNameToPrint>"];
oFrame.focus();
oFrame.print();
--

Joe (Microsoft MVP - XML)