Uncaught TypeError .addClass is not a function
Uncaught TypeError .addClass is not a function

Hi,
Recently, I have added the "select all rows" feature in my project which is working fine. I want to add class to all selected rows 'td' on click but I have no idea how to add. I am trying to add '.addClass' and '.removeClass' but it keeps giving me Uncaught Type Error. Test case http://live.datatables.net/hegufawa/1/edit .
As you can see select all rows feature is working fine. Here, all I want is to apply the class to all the selected rows 'td' so that after clicking on the select all checkbox it'll change all the uncheck boxes to the checked one.
Regards,
Moiz
Replies
Answer -> https://datatables.net/forums/discussion/58675/how-to-add-class-to-all-selected-rows-td