Reputation: 8209
I'm not able to get the below code to work.
$("#grid_table td:nth-child(10) input").live("onchange",function () {
alert("changed");
});
am I missing something here? Thanks.
Ravi
Upvotes: 1
Views: 587
Reputation: 82335
Try changing onchange
to change
..
$("#grid_table td:nth-child(10) input").live("change",function () {
alert("changed");
});
If that doesn't work I would verify your selector is working correctly.
Upvotes: 1
Reputation: 5264
Have you tried this:
$("#grid_table td:nth-child(10) input").change(function () {
alert("changed");
});
to make sure your selector is working properly?
Upvotes: 0