Friday, December 8, 2017

How do I determine the state of a toggled element in jQuery

var isVisible = $( "#myDiv" ).is( ":visible" );
var isHidden = $( "#myDiv" ).is( ":hidden" );
I

No comments:

Post a Comment