Created
July 21, 2020 09:35
-
-
Save filiptronicek/a2733c60b4007ac27444b2e50d196908 to your computer and use it in GitHub Desktop.
QR code generator in 5 lines or less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let toConvert = $("#content").val(); | |
function generate(text) { $("#qrcode").html(""); $("#qrcode").qrcode(text);} | |
if($("#content").val() == "") $("#qrcode").html(""); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment