JQuery Hide() Method with Example | How to hide HTML elements using JQuery

JQuery Hide() Method with Example

 
This JQuery Effects hide() method is useful for hiding the HTML elements on the webpage.

In the Below JQuery Tutorial, we can see how to hide the paragraph on page load and hide the anchor tag on click.

Example Code:
$(document).ready(function(){
    $("a").click(function () {
      $(this).hide(); //aspnettutorialonline.blogspot.com
      return false;
    }); 
    $("p").hide();
});

Demo:



 See more JQuery Interview Questions
Share this post :

Post a Comment

Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.

 
Support : Ranga Rajesh Kumar
Copyright © 2012. ASP.NET Examples - All Rights Reserved
Site Designed by Ranga Rajesh Kumar