Home  >  Article  >  Web Front-end  >  Use the jquery package to generate a QR code image from a string_jquery

Use the jquery package to generate a QR code image from a string_jquery

WBOY
WBOYOriginal
2016-05-16 17:22:511185browse

Generate a QR code image from a string (can be Chinese, transcode the Chinese before generating the QR code image). If you want a QR code with log, you can add one in the middle of the generated QR code. Small log, the log image should not be too big, otherwise the content will not be scanned.

Copy code The code is as follows:
















There are three js packages quoted here, one of which is the jquery package, this is a random version, and the other two are js packages for drawing QR codes.

js package download http://download.csdn.net/detail/anxin591025/6254607
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn