logo-MindMajix
PostjQueryjQuery
S
Satish santu

Posted on 26th July 2024|81 views

0
votes

Jquery Hide Not Working

Why jQuery hide() not working?

1 answers
Answers
P
Sowjanya Kodiganti

Posted on 26th July 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.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number