real schrieb:
This should work for you:

if ( $('td').is(':visible') ) { // the rest of your code }

That won't work (for any element) if "display: none" has been declared for an ancestor element. Or in this special case the col which the td belongs to (which is not exactly an ancestor).

This is a known issue, but solving it is too expensive (it would require to traverse up and check visibility for each element until a hidden one is found), thus it was never added to jQuery.



-- Klaus

Reply via email to