JAVA_EE/JQuery

[21.09.27] exam03(01_helloJQuery)

luvforjunk 2021. 9. 27. 19:41
728x90
반응형
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1 id="hello"></h1>

<script type="text/javascript" src="../js/jquery-3.6.0.min.js"></script>
<script type="text/javascript">
jQuery(function($){
	var h1 = $('#hello');
	h1.html("Hello jQuery!!");
});
</script>
</body>
</html>
728x90
반응형