hide and show div tag using jquery and javascript

first we are going to include jquery library for show and hide the div tag <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> we are going to show and hide the div tag using jquery function <script language="javascript"> $(document).ready(function() { $("#showID").click(function() { $("#divMsg").show(1000);}); $("#hideID").click(function() { $("#divMsg").hide(1000);}); }); </script> creating two link to show and hide based on the link ids <div><a […]