Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在使用 getorgchart 插件。当我想打印图表时,它会打开一个空白页。
$("#people").getOrgChart("print");
您需要将目标文档元素(在您的情况下people)放在其他东西中。例如,将其嵌套在另一个 div 中。
例子:
<div id="container"> <div id="people"></div> </div>
小提琴
与