Hide paragraph using JQuery with animation

Posted by Virendradugar under jQuery category on | Views : 4228
Below code will hide paragraph using JQuery. You can download the Jquery from http://docs.jquery.com/Downloading_jQuery

<script type="text/javascript" src="Script/jquery-1.3.2.js"></script>
<script type="text/javascript">

Here is the paragraph which this code will hide. This page when gets loaded hides the paragraph in animated style.

<p>Virendra Dugar @ DotnetFunda.com</p>

In hide() function, you can also pass "fast" as value. This will make the animation to run faster. You can also pass value in seconds. Like


This will take 5 seconds to hide the animation.

Virendra Dugar

Comments or Responses

Login to post response