How do you show and hide elements in jQuery?

  • $("#id").show(); → Show element
  • $("#id").hide(); → Hide element
  • $("#id").toggle(); → Toggle between show/hide

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *