Last active
September 4, 2019 19:19
-
-
Save do9iigane/05a9851b0a53e49ad971ad7f49401b8c to your computer and use it in GitHub Desktop.
qrcode_sample
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie-edge"> | |
<title>JSの練習</title> | |
</head> | |
<body> | |
<div id="tipQR"> | |
うんこ | |
</div> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js"></script> | |
<script> | |
$("#tipQR").html(""); | |
$("#tipQR").qrcode({ width: 240, height: 240, text: "うんこ" }); | |
</script> | |
</boby> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment