1, 检测数据库连通性的api实现
2,表单验证:
jquery validate: https://www.cnblogs.com/linjiqin/p/3433635.html
bootstrap validate: https://blog.csdn.net/jewely/article/details/77810472
其中涉及到ajax
3, bootstrap使用
1,布局12栏
offset和pull/push区别
2,表单的写法
思路: bootstrap表单--表单验证--ajax(jquery)--后端写api
ajax:
提交数据
接收json格式数据
append生成节点
remove删除节点
-
- jquery
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/lib/jquery.js"></script>
<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js">
- bootstrap
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap-validator/0.5.3/css/bootstrapValidator.css"></script>
Reqwest 使用教程: https://blog.csdn.net/huangpb123/article/details/78773611
JSON.stringify()