query.qrcode.js - jQuery Plugin For QRcode Generation

Previously, blogfreakz has featuring qrTip, a jQuery plugin that can display QR tooltips for links. This time I will review about jquery.qrcode, plugin for jQuery that allow us to easily add qrcode to webpages.

jquery.qrcode query.qrcode.js   jQuery Plugin For QRcode Generation

query.qrcode.js is jquery plugin for a pure browser qrcode generation. query.qrcode.js allow us to easily add qrcode to any webpages. It doesnt rely on external services which go on and off, or add latency while loading. It is based on a library which build qrcode in various language. jquery.qrcode.js wraps it to make it easy to include in your own code.

To implement query.qrcode is pretty simple, first we need to include it in our webpage with the usual script tag.

<script src="jquery.qrcode.min.js" type="text/javascript"></script>

Then create a DOM element which gonna contains the generated qrcode image. Lets say a div

<div id="qrcode"></div>

Then we add the qrcode in this container by

jquery('#qrcode').qrcode("this plugin is great");

query.qrcode.js is available on github here under MIT license. If you hit bugs, fill issues on github. Feel free to fork, modify and have fun with it.

Requirements: jQuery Framework
Demo: http://jeromeetienne.github.com/jquery-qrcode/examples/basic.html
License: MIT License

Incoming search terms for the article: