How can i get the status of a column using JQuery? -
How can i get the status of a column using JQuery? -
i mean, there way know if column hidden? learned hide them
$('#tableg td:nth-child('+(index+1)+'), #tableg th:nth-child('+(index+1)+')').hide();
but need status, there like:
if($('#tableg th:nth-child('+(index+1)+')').show() == true) { ... }
you want utilize kind of notation:
$(element).is(":visible")
so:
if($('#tableg th:nth-child('+(index+1)+')').is(":visible")) {...}
jquery
Comments
Post a Comment