Wednesday, April 1, 2015

HIDE PADA JQUERY

SEDIKIT BERBAGI 


<!DOCTYPE html>
<html>
<head>
<script src="jquery.js"></script>
<script>
$(document).ready(function(){
    $("button").click(function(){
        $("p").hide();
        });
    });
</script>
</head>
<body>

<button>Hide</button>

<p>Coba - coba aja.</p>

</body>
</html>

0 comments:

Post a Comment