复制内容到剪贴板
代码:
function doPrint(urls, i) {
var myDoc = {
documents : urls[i],
copyrights : '杰创软件拥有版权 www.jatools.com'
};
myDoc.done = function() {
i++;
if (i < urls.length) {
doPrint(urls, i);
}
}
var jatoolsPrinter = getJatoolsPrinter();
jatoolsPrinter.print(myDoc, false);
}
function batchPrint() {
var urls = ["a.jsp?id=1", "b.jsp", "c.jsp"];
doPrint(urls, 0);
}