JQuery show() method Example code
JQuery show() method is come under JQuery Effects.Definition: This method is useful to show the hidden HTML elements when ever we request.
In the below JQuery Example, I have to shown how to show a hidden paragraph on page load itself. This is also one of the good JQuery Interview Question.
Example:
<html>
<head>
<title></title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$(".HideClass").show()
});
</script>
</head>
<body>
<p class="HideClass" style="display:none">
http://aspnettutorialonline.blogspot.com/
</p>
</body>
</html>
See Demo:
You can download Free Download JQuery PDF Books here.
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.