Here is an example:
It is working
$('#name2').editable({
validate: function (x) {
if (!confirm("Are you sure you wish to proceed?")) {
return "Canceled";
}
}
});
But it is impossible to add nice styled bootstrap modal as a confirmation
instead of the build-in confirm() system browser popup.
Here is an example: It is working $('#name2').editable({ validate: function (x) { if (!confirm("Are you sure you wish to proceed?")) { return "Canceled"; } } });
But it is impossible to add nice styled bootstrap modal as a confirmation instead of the build-in confirm() system browser popup.