inputText) {
                    $('#qrcode').qrcode({
                        text: inputText,
                        width: 200,
                        height: 200
                    });
                } else {
                    alert("Please enter a valid text or URL");
                }
            });
        });
    </script>
</body>
</html>
