Created
March 4, 2019 16:14
-
-
Save AvgustPol/1385e10e71b75ce3e04d124ebb1675f7 to your computer and use it in GitHub Desktop.
input with confirm JS
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
<input | |
type="submit" // 'submit' type is necessary because this request is handling by OnPost handler | |
value="Delete" // text value for button | |
class="btn btn-danger form-control" // bootstrap classes | |
onclick="return confirm('Are you sure you want to delete this?')" // confirm JS code | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment