{{ !articles[0].partner.isSponsoringArticle ? "Platinum" : "Portal" }} Partner
css,html5,tips and tricks,html & xhtml

QRCode.js - A Cross-Browser JavaScript Library To Generate QRCodes


QRCode.js is a cross-browser JavaScript library which allows you to generate QRCodes on the fly, on the client-side.  QRCode.js makes use of HTMl5 Canvas and Tables to display the QRCode.  The library itself has no dependencies whatsoever.

To generate a QRCode, you just need to include the JavaScript library and then pass as parameters to the QRCode function, the text you want to encode as the QRCode, the width & height of the QRCode you want to display, as well as your specified foreground color and background color.

Requirements: None
Demo: http:/ / davidshimjs. github. com/ qrcodejs/
License: MIT License

Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks