Can anyone explain me why this code don't work in IE? In Chrome everything works just fine.
Part of my Html:
<head>
<script type='text/javascript' src="//code.jquery.com/jquery-1.9.1.js"></script>
<script type='text/javascript' src="http://vivin.net/pub/pdfjs/pdf.js"></script>
<script type='text/javascript' src="http://vivin.net/pub/pdfjs/textlayerbuilder.js"</script>
</head>
<body>
<div id="pdfContainer" class = "pdf-content"></div>
</body>
Full code and example that works on Chrome: http://jsfiddle.net/vivin/RjqUf/
I've figured out what my problem was. I replaced the pdf.js with pdf.min.js and now everything works fine in both Explorer 10 and Chrome. Don't know exactly why, but it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With