我正在使用jsPDF 1.2.60和jsPDF AutoTable 2.0.32插件来生成包含带有colspans和rowspans和images(数据URI)的表的PDF。它在Chrome和Firefox中没有问题,但我无法在IE10和IE11中使用。
我尝试使用jsPDF 1.0.272,因为我读到它应该在IE< = 9中工作因此可能在IE10和IE11但它没有,我一直得到错误:'jsPDF object undefined'类似于错误我使用的是最新版本的jsPDF
我包含以下脚本:
<script type="text/javascript" src="/Scripts/jsPDF-1.2.60/examples/js/jquery/jquery-ui-1.8.17.custom.min.js"></script>
<script type="text/javascript" src="/Scripts/jsPDF-1.2.60/dist/jspdf.min.js"></script>
<script type="text/javascript" src="/Scripts/jsPDF-1.2.60/plugins/split_text_to_size.js"></script>
<script type="text/javascript" src="/Scripts/jsPDF-1.2.60/plugins/standard_fonts_metrics.js"></script>
<script type="text/javascript" src="/Scripts/jsPDF-1.2.60/libs/css_colors.js"></script>
<script type="text/javascript" src="/Scripts/jsPDF-1.2.60/libs/deflate.js"></script>
<script type="text/javascript" src="/Scripts/jsPDF-1.2.60/libs/html2pdf.js"></script>
<script type="text/javascript" src="/Scripts/jsPDF-1.2.60/libs/polyfill.js"></script>
<script type="text/javascript" src="/Scripts/jsPDF-AutoTable-2.0.32/dist/jspdf.plugin.autotable.js"></script>
<script type="text/javascript" src="/Scripts/jquery.tableparser-master/jquery.tableparser-min.js"></script>
有没有人在IE中成功使用过这个库?
谢谢, 米哈埃拉
答案 0 :(得分:1)