Confirm before action
- Interupts form submit and requestSubmit
- Interupts click on button
- Uses native Dialog-Element (unstyled)
- Has a translated default confirm text
- Lightweight
<form u1-confirm="Save name?" target=_blank>
<label>Name: <input name=name></label>
<button>save</button>
</form>
<script src="https://cdn.jsdelivr.net/gh/u1ui/confirm.attr@x.x.x/confirm.min.js" type=module></script>
- MIT License, Copyright (c) 2022 (like all repositories in this organization)
- Suggestions, ideas, finding bugs and making pull requests make us very happy. ♥