jquery简单使用

1、day09.html

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>day09</title>


</head>
<body>
day09

<th:block th:replace="jss/abc"></th:block>

<th:block th:replace="jss/day09_js"></th:block>

</body>
</html>
2、day09_js
<script type="text/javascript">
    $(document).ready(function () {
        alert(".......day09")
    })
</script>

3、abc

<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">
</script>

 

上一篇:Python 学习day09


下一篇:day09