Posted on 16th September 2024|81 views
Why jQuery hide() not working?
Posted on 16th September 2024| views
To resolve this you can simply add :visible just see the below example you will understand
$(Document).ready(function()
{ $( '.expand' ).click(function()
{ if($( 'display_content' ).is(":visible"))
{ $( 'display_content' ).hide(); }
}); });
If you are looking for the Jquery certification course, you can check out this online Jquery Training and Improve your knowledge in Jquery.