English 中文(简体)
租赁箱 Irame 印刷
原标题:fancybox IFrame print

I would like to print whatever is displayed in the fancybox IFrame popup. How to do it? Currently print just prints everything underneath which is not what I want.

最佳回答

引证:

$("#printBtn").click(function() {
    $( #myIframe )[0].print();
});
问题回答

暂无回答




相关问题
How to render a printable image from a SWF

I m working on a project at the moment where the client uses an off-the-shelf Flash library to display data against a map. It s a SWF that we feed some XML data and it renders it in various ways, such ...

Html printed page resolution (or size in pixels)

Does anybody know what is the resolution that will be used to render a printed HTML page. I d like to know what size (in centimeters or inches) will be a printed image of say 500x500pixels. I know ...

How can I select a different printer in a web application?

I have a Web application programmed in C#. There are several printers and I want to choose any of them and execute the action, I would like some kind of Form to load all printers. I found this for ...

Visual Studio 2010 Beta 2: Can I print in color?

I have to turn in a hard copy of some code with an assignment. Is there any way in Visual Studio 2010 to print C# source code with syntax highlighting? PS: The assignment is solving a math problem, ...

热门标签