layui实现增删改查

<%@ page language=“java” contentType=“text/html; charset=utf-8”
pageEncoding=“utf-8”%>

Insert title here

}
//点击添加按钮弹出窗体
var addindex;
function addBtn(){
addindex = layer.open({
type:1,
content:KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲addWin"), are…("#studentId").val();
var studentName=KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲studentName").v…(“input[name=‘sex’]:checked”).val();
var age=KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲age").val(); v…("#birthday").val();
if(confirm(“确认提交吗”)){
KaTeX parse error: Expected 'EOF', got '}' at position 241: …(); } }) }̲ } //点击修改保存按钮 f…("#stu_Id").val();
var studentName=KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲stu_Name").val(…(“input[name=‘gender’]:checked”).val();
var age=KaTeX parse error: Expected 'EOF', got '#' at position 3: ("#̲s_age").val(); …("#s_birthday").val();
if(confirm(“确认提交吗”)){
$.post(“StudentUpdateServlet”,{
name:studentName,
studentID:stuId,
age:age,
gender:sex,
birthday:birthday
},function(res){
if(res==“true”){
layer.msg(“修改成功”);
layer.close(updateIndex);
tableObj.reload();
}
})
}
}

©️2020 CSDN 皮肤主题: 1024 设计师:上身试试 返回首页