JavaScript
jQuery 적용하기
invertKO
2019. 3. 27. 16:29
# jQuery 적용하기
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>EX_04</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script> <!-- jQuery에 document를 적용하여 사용할수 있도록 설정 --> jQuery(document).ready(function(){ alert('jQuery 준비1'); });
jQuery(document).ready(function(){ alert('jQuery 준비2'); });
$(document).ready(function(){ alert('이렇게도 사용가능 '); });
$(function(){ alert('이렇게도 사용가능2 '); });
</script> </head> <body> </body> </html> |
cs |