17 lines
292 B
HTML
17 lines
292 B
HTML
<html>
|
|
<head>
|
|
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$("button").click(function(){
|
|
$(this).hide();
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<button>Click me</button>
|
|
</body>
|
|
</html>
|