I an using Mike Tuupola’s jQuery jEditable as follows:
function wireupTagCategoryInPlaceEditing() {
$('.category-label').editable(submitTagCategoryEdit, {
event: 'tagcategoryedit', // conditionally triggered in wireupTagCategoryClick()
type: 'text',
submit: ' Ok ',
cancel: 'Cancel',
cssclass: 'tagcategory-inplace-edit'
});
}
function submitTagCategoryEdit(value, settings) {
//handle the edit
}
I need to intercept the cancel event – what is the best way to do that
use this and this