$('#barcode').qrcode({ 300, height: 300, render: !!document.createElement('canvas').getContext ? 'canvas' : 'table', text: "http://www.163.com" });
参考:
https://github.com/jeromeetienne/jquery-qrcode
$('#barcode').qrcode({ 300, height: 300, render: !!document.createElement('canvas').getContext ? 'canvas' : 'table', text: "http://www.163.com" });
参考:
https://github.com/jeromeetienne/jquery-qrcode