user3680708 user3680708 - 1 year ago 70
jQuery Question

Add most of a id on JQuery

How can to add a new id in my $(), in this code I added an only id, but I need add other more.


$('#editable-detail td.uneditable').on('change', function(evt, newValue) {
return false;

Answer Source

you either do like:

$('#editable-detail, #editable-detail2, #editable-detail3').editableTableWidget();

or (Recommended):

use classes instead of id (you should give them all the same class):