jquery - Connecting interrupts to table elements -


i'm having trouble here connecting interrupts table elements.

it seems clicking "delete cell" or "open helper" should fire 1 of handlers, nothing happens. open helper td has 2 chances fire handler, once row it's in , once td it's in.

does see problem?

thanks.

the jsfiddle clear forum wants code if there's jsfiddle link, here:

$(document).on('click','tr.deletecell', function(event) {   alert("deleting cell"); }); 

jquery on not introduced until version 1.7, while fiddle sources 1.6.2. see docs.

if change jquery version 1.7+, click handler tr.deletecell work.

the other 2 handlers applied incorrectly. both looking .td, element class "td", not td element.


Comments