Created
January 18, 2018 14:39
-
-
Save ohiofi/49ad60f89b8efd6bb8111d5ea4ccf815 to your computer and use it in GitHub Desktop.
Read-only text input form with Use button for JS with classes for Bootstrap
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
<label for="text">Your Backpack:</label><br> | |
<div class="input-group"> | |
<input type="text" class="form-control input-lg" id="backpack" placeholder="none" readonly> | |
<div class="input-group-btn"> | |
<button class="btn btn-default btn-lg" type="button" id="useItem" onclick="useItem(document.getElementById('backpack').value)">Use</button> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment