5 lines
135 B
JavaScript
5 lines
135 B
JavaScript
|
$('form.button_to input[type=submit]').click(function (e) {
|
||
|
if(!confirm(this.getAttribute('data-confirm'))) e.preventDefault();
|
||
|
});
|
||
|
|