jQuery生成二维码

来源:互联网 发布:怎么样数据共享 编辑:程序博客网 时间:2024/06/09 19:26



https://github.com/jeromeetienne/jquery-qrcode


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>    <title>个人融资租赁申请表</title>    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">    <meta name="viewport" content="width=device-width, initial-scale=1">    <link rel="stylesheet" href="css/app.min.css" />    <script type="text/javascript" src="js/loan/jquery.min.js"></script>    <script type="text/javascript" src="js/loan/jquery.qrcode.min.js"></script>    <script src="js/loan/addCustInfo.js"></script></head><body>生成二维码如下:<br><div id="qrcode"></div><script type="text/javascript">jQuery('#qrcode').qrcode("https://github.com/jeromeetienne/jquery-qrcode");</script></body></html>


jQuery('#qrcode').qrcode("https://github.com/jeromeetienne/jquery-qrcode")中的qrcode为二维码内容