有一個不錯的插件QR Code:「https://github.com/lrsjng/jQuery.qrcode」。在Firefox和Chrome中工作成功,但在Internet Explorer 8.0中出現錯誤:jQuery qrcode不適用於Internet Explorer 8
此行的消息是:「對象不支持此屬性或方法」。
完整的代碼是:
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="../jQuery/qrcode.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#qrcode').qrcode("this plugin is great");
});
</script>
</head>
<body>
<div id="qrcode" style="width:100px;height: 100px"></div>
</body>
</html>
有每個人的想法?
它只是說」對象不支持此方法或屬性「 –