Today, QR codes are becoming more and more popular. Many web pages have a QR code, which can be viewed by mobile phones after scanning. Jquery-qrcode is a jquery plug-in that can generate two-dimensional codes on the browser. The following describes how to generate two-dimensional Codes Using jQueryqrcode. For more information, see the QR codes, many Web pages have a QR code, which can be viewed by mobile phone after scanning.
In the past, similar projects were generally used to generate images on webpages and insert images to webpages.
In this way, the QR Code cannot be generated on every page.
Jquery-qrcode is a jquery plug-in that can generate QR code on the browser side. It is independent, with a minimum compression capacity of less than 4 kb and no image download requests. After this class library is introduced, you only need a line of code to easily add a QR code to the web page.
Qrcode implements graphic rendering and drawing by using jQuery. It supports canvas (HTML5) and table.
Https://github.com/jeromeetienne/jquery-qrcode
Obtain the latest code.
How to Use
1. First, add the jquery library file and qrcode plug-in to the page.