使用的包:jquery-3.5.1.js
1、导入包
<script src="${pageContext.request.contextPath}/staties/js/jquery-3.5.1.js"></script>
2、在body标签<input>中设置点击对象
3、在<script>中加入方法,绑定<input>标签的点击事件
4、$.post(
url:
data:
function():回调函数
)
使用的包:jquery-3.5.1.js
1、导入包
<script src="${pageContext.request.contextPath}/staties/js/jquery-3.5.1.js"></script>
2、在body标签<input>中设置点击对象
3、在<script>中加入方法,绑定<input>标签的点击事件
4、$.post(
url:
data:
function():回调函数
)