Closed bbelderbos closed 3 years ago
Example from our platform:
HTML
<button name="deleteBite" class="mui-btn mui-btn--raised mui-btn--danger deleteBite" Onclick="return WarningUndoIvBite();">Delete Bite</button>
JS
function WarningUndoIvBite(){ if(confirm("Sure you want to delete? This will delete all associated code submissions and cannot be undone!")){ return true; } else { return false; } }
Done
Example from our platform:
HTML
JS