Hello everyone, welcome to my today's post and today we going to learn about how to hide an element using jQuery function. Basically today's post on element hiding. But I'm writing on both show and hide function. As a result you can get a very clear view on both function. By using jQuery show and hide function you can control visibility of any element like image, div or paragraph. I'm going to present show and hide operation on 3 elements.
- First on an image ,
- second paragraph contents
- and finally div cotents.
So, lets start -
Sometimes we need to hide and image on body load and when user click a link then open that image. Have a look code how to do that -

Demo: http://demos.coolajax.net/jquery/show_hide_element/
As a programmer sometimes you need to hide elements that you write inside of a paragraph. In this situation, you can easily use this code. What you need to do just give an ID of your particular paragraph and then follow the code.

Demo: http://demos.coolajax.net/jquery/show_hide_element/paragraph_contents.html
Like paragraph sometimes we need also show and hide div element. I think this code will help you show and hide div contents in you application.

Demo: http://Demo: http://demos.coolajax.net/jquery/show_hide_element/paragraph_contents.html
That's all for today, I hope you enojy my tutorial.
Was this information useful? What other tips would you like to read about in the future? Share your comments, feedback and experiences with us by commenting below!
Like our site? Be a member of Coolajax fan page to get daily posts updates!
Tags:
jQuery hide, element hide function, how to implement hide, jQuery learn hide a element, show and hide effect on an image,show and hide effect on paragraph contents,show and hide effect on div contents
Total Read: 639 Topics