<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="jquery-3.3.1.min.js"></script>
<script>
$(document).ready(function(){
$("#btn").click(function(){
alert("you clicked");
});
});
</script>
</head>
<body>
<button id="btn"> click me</button>
</body>
</html>
No comments:
Post a Comment