<html>
<head>
<script src="as.js">
</script>
<script>
$(document).ready(function(){
$('button').click(function()
{
$('p').hide();
});
});
</script>
</head>
<body>
<p>Hi Click ME.......</p>
<button>CLICK ME</button>
</body>
</html>
<head>
<script src="as.js">
</script>
<script>
$(document).ready(function(){
$('button').click(function()
{
$('p').hide();
});
});
</script>
</head>
<body>
<p>Hi Click ME.......</p>
<button>CLICK ME</button>
</body>
</html>