User Tools

Site Tools


notes:javascript:confirmationmessage

Confirmation Message in JavaScript

Show a confirmation message. Generate postback only if the user clicks OK:

<input type="submit" value="Confirm" onclick="if (!confirm('Are you sure?')) return false;" />
notes/javascript/confirmationmessage.txt · Last modified: 2017/11/22 by leszek