Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35272

Can't build efficient selector for getting selected rows form inputs

$
0
0

See http://jsfiddle.net/shoe788/s5r944xd/1/

I want to build a form submission by which a user selects rows and then clicks "save".

table.$(".selected").find("input") works to get what I want, but table.$(".selected input") is ideal since it is more efficient.

The first piece of code works fine, the second returns an empty result set. Doing $(".selected input") on a plain html table selects the correct inputs.

Why is the more efficient selector not returning anything?


Viewing all articles
Browse latest Browse all 35272

Trending Articles