How to find all rows of a table where attribute [data-order] is undefined?
this.tbl_list[0].rows.find('[data-order="undefined"]').remove();
this returns:
this.tbl_list[0].rows.find is not a function
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
.rowsis a DOM property, not a jQuery object so you can’t call.find()on it.So try this:
(and thanks to other answers about reversing the test, since
undefinedwon’t work in an attribute selector)