This is a very simple tutorial on how to show and hide a division tag or Expand and collapse toggle div using simple jquery. <script src=”http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js” type=”text/javascript”></script> <script type=”text/javascript”> $(document).ready(function(){ $(”#butShowHideSlow”).click(function () { $(”#divShowHideSlow”).toggle(”slow”); }); }); </script> <button id=”butShowHideSlow”>Click Me</button> <div style=”width:300px;height:47px; border: solid 1px black;background-color:white;text-align:center;” id=”divShowHideSlow”>Div that hide and show... (Continue reading)
Just a simple slideshow using jquery <div id="slideshow"> <img src="img/img1.jpg" alt="" class="active" /> <img src="img/img2.jpg" alt="" /> <img src="img/img3.jpg" alt="" /> </div> Now let’s use CSS to position the images on top of each... (Continue reading)
Multiple form submission is one of the issues that a webmaster face during his development.So instead of writing a hardcore code in the server side.We can just validate a multiple submission using simple client side Jquery. Consider we have this HTML... (Continue reading)
Below are some basic examples of Jquery and its feature. How to add jQuery to your website Installing You can download jquery.js file form jquery.com. <script type=”text/javascript” src=”jquery.js“></script> OR Recommended <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/ libs/jquery/1.3.0/jquery.min.js“></script> Jquery Code Generally used script run this when the HTML is all ready. Live Demo <script type=”text/javascript“> $(document).ready(function() { alert(’Welcome to mistonline.in‘); }); </script> Similar as previous script.... (Continue reading)
From today onwards i will be posting the jquery tutoials also, This post will show you how to replace one image with another one in specific time intervals. For example: replacing image1.jpg withimage2.jpg every 5 seconds. Guys if you are not aware... (Continue reading)