标签:
①、先下载 js qrcode 库
②、使用极其简单
<!DOCTYPE html> <html> <head> <title>qrcode demo</title> </head> <body> <div id="qrcode"></div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <script type="text/javascript" src="jquery.qrcode.min.js"></script> <script> jQuery(function(){ jQuery(‘#qrcode‘).qrcode("http://taobao.com"); }) </script> </body> </html>
https://github.com/jeromeetienne/jquery-qrcode
标签:
原文地址:http://www.cnblogs.com/chenmo-xpw/p/5920768.html