previously i checked whether a row is last row in a table like this in a condition:
$row.is(':last-child')
which works fine.
Now, i have a requirement where some of the rows in the table are hidden - now i have to check whether a specific row is the last visible row in the table.
I tried with this:
$row.is(':visible:last-child')
but not that successfull. Does someone have a clue?
$("#question").is(':visible:last-child')
on this page returnsfalse
but$("#question").is(':visible:first-child')
returnstrue
. How doesn't it work? – Bleb