Hey all,
I have a form with multiple signatures. I need to be able to handle the "form-sig-remove" event (user clicks the X to clear the signature), but I need to know which signature field fired the event. Is there any way to do this?
I've tried something like this, but it doesn't fire
$(document).on('click', '#q1 a.form-sig-remove',function(){
alert("#q1 .form-sig-remove");
});
The following fires for all signatures
$(document).on('click', 'a.form-sig-remove',function(){
alert(".form-sig-remove");
});