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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -