Generate Random QR Code OnClick Using qrcode.js
问题 I am using qrcode.js for generating qrcode. I want to generate random QR code every time I click into add new tab instead of add new qr code. I created a code for a random number but when I try to add onclick function it add new not to random it. JSFIDDLE: https://jsfiddle.net/aice09/L8pp9336/ GITHUB: https://github.com/Ailyn09/project102/blob/master/qrcode.html CODEPEN: https://codepen.io/aice09/pen/Ogqajr $('#lithird').click(function() { var qrcode = new QRCode("qrcode"); function makeCode(