QRCodeJs Library :
Just create a new html file, include qrcode.js file and copy paste the below code into your html file..
new QRCode(document.getElementById('qrcode'), 'Hello, World');
It just needs user to write two lines of code.. The first line is DIV element in which we want to display our generated QR Code. The next thing we have to do is, creating the instance of QRCode object with our custom values. It takes two parameters, first one is HTML Element | Object in which we want to display QR Code and the second parameter is text | String which we want to encode as QR Code.
Type something in below input field...
Here, you can see/get the full code for above demo..
QR Code Generation With Custom Options :
You can customize QR Code generation by configuring QRCode object.