Skip to content Skip to sidebar Skip to footer

Jquery – On('click') Append Doesn't Seem To Work

http://jsfiddle.net/D6be5/ HTML

Solution 1:

Another Method.

$('table').on('click', "td", function() {

})

Solution 2:

Change the click handler to

$(document).on('click', 'table td', function() {
//Your code
}

Solution 3:

hope it might help you

$('.example').delegate('td', "click", function() {

}

Solution 4:

You may want to try using the .on() method on your $('table td').click() event:

$('table td').on('click', function() {
    $('table label').show();
    $('table textarea').hide();
    $(this).find('label').hide();
    $(this).find('textarea').show();
});

Hope that helps

Post a Comment for "Jquery – On('click') Append Doesn't Seem To Work"