jQuery 生成二维码 QRCode.js
作者:互联网
github
https://github.com/davidshimjs/qrcodejs
Examples1
<div id="qrcode"></div>
<script type="text/javascript">
new QRCode(document.getElementById("qrcode"), "http://jindo.dev.naver.com/collie");
</script>
Examples2
<div id="qrcode"></div>
<script type="text/javascript">
var qrcode = new QRCode(document.getElementById("qrcode"), {
text: "http://jindo.dev.naver.com/collie",
width: 128,
height: 128,
colorDark : "#000000",
colorLight : "#ffffff",
correctLevel : QRCode.CorrectLevel.H
});
</script>
标签:jQuery,collie,js,qrcode,QRCode,new,document,com 来源: https://www.cnblogs.com/sunr/p/16671582.html