index.jsp

xungezhaocha發表於2020-10-23
	<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
Insert title here
姓名: 手機號: 日期:~
	<form action="">
		姓名:<input type="text"  id="sname"><br>
		手機:<input type="text" id="stele_number"> <br>
		地址:<input type="text" id="saddress"><br>
		性別:男<input type="radio" name="sex" value="男"  checked=""/>女<input  type="radio" name="sex" value="女" /><br/>
		院系:<input type="text" id="sdepartment"><br>
		生日:<input type="text" id="sborn_date"><br>
		<input type="button" value="新增" onclick="addstudent()">
	</form>
</div>
<!--詳情 -->
	<form action="">
		姓名:<input type="text"  id="stname"><br>
		手機:<input type="text" id="number"> <br>
		地址:<input type="text" id="staddress"><br>
		性別:<input type="text" id="sex"><br>
		院系:<input type="text" id="stdepartment"><br>
		生日:<input type="text" id="stborn_date"><br>
		
	</form>
</div>
	<form class="layui-form" lay-filter="fm">
	<input type="hidden" name ="student_id" id="stuId"/><br/>
		姓名:<input type="text" name ="student_name" id="stuName"/><br/>
		手機:<input type="text" name ="tele_number" id="stutele_number"> <br>
		地址:<input type="text" name ="address" id="stuaddress"><br>
		性別:男<input type="radio" name="student_sex"  value="男"  checked=""/>女<input  type="radio" name="student_sex" value="女" /><br/>
		院系:<input type="text" name="department" id="studepartment"><br>
		生日:<input type="text" name ="born_date"  id="s_birthday"/><br/>
		<input type="button" value="修改" onclick="updatestudent()">
	</form>
</div>
<table id="demo" lay-filter="test"></table>

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

Insert title here
姓名: 手機號: 日期:~
	<form action="">
		姓名:<input type="text"  id="sname"><br>
		手機:<input type="text" id="stele_number"> <br>
		地址:<input type="text" id="saddress"><br>
		性別:男<input type="radio" name="sex" value="男"  checked=""/>女<input  type="radio" name="sex" value="女" /><br/>
		院系:<input type="text" id="sdepartment"><br>
		生日:<input type="text" id="sborn_date"><br>
		<input type="button" value="新增" onclick="addstudent()">
	</form>
</div>
<!--詳情 -->
	<form action="">
		姓名:<input type="text"  id="stname"><br>
		手機:<input type="text" id="number"> <br>
		地址:<input type="text" id="staddress"><br>
		性別:<input type="text" id="sex"><br>
		院系:<input type="text" id="stdepartment"><br>
		生日:<input type="text" id="stborn_date"><br>
		
	</form>
</div>
	<form class="layui-form" lay-filter="fm">
	<input type="hidden" name ="student_id" id="stuId"/><br/>
		姓名:<input type="text" name ="student_name" id="stuName"/><br/>
		手機:<input type="text" name ="tele_number" id="stutele_number"> <br>
		地址:<input type="text" name ="address" id="stuaddress"><br>
		性別:男<input type="radio" name="student_sex"  value="男"  checked=""/>女<input  type="radio" name="student_sex" value="女" /><br/>
		院系:<input type="text" name="department" id="studepartment"><br>
		生日:<input type="text" name ="born_date"  id="s_birthday"/><br/>
		<input type="button" value="修改" onclick="updatestudent()">
	</form>
</div>
<table id="demo" lay-filter="test"></table>
</div>