QR Generator
Testing QR code function generateBarCode() { var nric = $('#text').val(); var url = 'https://api.qrserver.com/v1/create-qr-code/?data=' + nric + '&size=500x500'; $('#barcode').attr('src', url); }