Toggle between hiding and showing in Javascript
by Rajat Jha
HTML
<button>
Toggle between hiding and showing the Blogs</button>
<a href="http://infostore99.blogspot.in" target="_blank">
<p>InfoStore99.blogspot.com</p>
</a>
<a href="http://mycommerceinfo.blogspot.in" target="_blank">
<p>MyCommerceInfo.blogspot.com</p></a>
<p>This Script Use to Head Tag [script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"]</p>
JavaScript
$(document).ready(function() {
$("button").click(function() {
$("p").toggle();
});
});