Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Button Inside of IFrame 1

Status
Not open for further replies.

ietprofessional

Programmer
Apr 1, 2004
267
US
HI!

Does anyone know how to create a button to print a form inside of an Iframe?

I want to create a button that will be clicked inside of an Iframe and only print that portion of the site.

Thanks!

 
That seemed to work fine for me...put the button to print on the page that is being displayed in the iframe
Code:
 window.print()
[code]

...or else could you do a 
[code]
document.frames['VKFrame'].window.print()
[code]
this is not correct syntax...but the idea...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top