标签: orgchart
我目前正在使用getorgchart插件。当ı想要打印图表时,会打开一个空白页。
$("#people").getOrgChart("print");
答案 0 :(得分:2)
您需要将目标文档元素(在您的情况下 people )放入其他内容中。例如,将其嵌套在另一个div中。
示例:
<div id="container"> <div id="people"></div> </div>
Fiddle