[JQuery] use the jquery-qrcode plug-in to convert the URL into a QR code. You can scan the QR code on your mobile phone to access jqueryqrcode.

Source: Internet
Author: User

[JQuery] use the jquery-qrcode plug-in to convert the URL into a QR code. You can scan the QR code on your mobile phone to access jqueryqrcode.

First, find jquery-qrcode in github and Select Download ZIP to Download (click the link to open)


Download a compressed package jquery-qrcode-master.zip, decompress the package, extract the src folder, and put it in the site directory,

Then, download the latest version of jquery1.x from the official jquery website, which is generally 1.11 (click to open the link) instead of 2.x. to be compatible with IE, put it in the src folder,

The site folder directory is roughly as follows:


The items in src are roughly as follows:


After creating a new, Please display test.html page, such as to the http://www.a.com URL into a QR code, then write the following code:

<! DOCTYPE html> 



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.