I have this jQuery:
$('#detail')
.on('click', '.deleteLink', function () {
dialog(this);
return false;
})
$('#detail')
.on('click', '.editLink', function () {
dialog(this);
return false;
})
Is there a way these could be combined. Sorry but I don’t know jQuery at all.
Match both selectors with
,, like in CSS: