Following up from this question, I\'m trying to implement an unobtrusive confirm dialog.
$(document).ready(function () {
$(\"[data-confirmPrompt]\").clic
Using the suggestion Alexey Lebedev made in his second comment, my current implementation now looks like the sample below, except that I've also added my own implementation of localization for the button labels.
Notes:
If anyone can suggest improvements, please chime in.