SoFunction
Updated on 2025-04-11

jquery instances of hidden tags and display tags


<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<script language="javascript" type="text/javascript" src="jquery-1.7."></script>
<script language="javascript" type="text/javascript">
$(document).ready(function(){
$("#hide").click(function(){
$("p").hide(1000);
$("#show").click(function(){
$("p").show(1000);
});
});
});
</script>

<p>

Hello everyone, welcome to learn jquery
</p>

<button >Show</button>
<button >Hide</button>