I've been trying all night to get a dynamically created set of table to change their class.
Normally JQuery will let you do this:
$('table tbody tr').click(function () {
// remove clickedRow class from all same level rows?
$(this).addClass('clickedRow');
});
I want to apply something similar but to a specific but dynamically created id. I've tried
$(idname 'tbody tr')
and
$('idname tbody tr')
but haven't been able to find a work around.
Is there a solution?