1
<table cellpadding="0" cellspacing="0">
2
<thead>
3
<tr>
4
<td>用戶名</td>
5
<td>密碼</td>
6
<td>性別</td>
7
<td>
.</td>
8
</tr>
9
</thead>
10
<tbody>
11
<tr>
12
<td><input type="text" name="uname" ></td>
13
<td><input type="password" name="password" ></td>
14
<td><input type="text" name="sex" ></td>
15
<td>
</td>
16
</tr>
<tr>
<td>
<input type="button" name="query" value="增加" onclick="queryAddSubmit()">
<input type="button" name="modif" value="修改" onclick="queryModSubmit()">
<input type="button" name="delet" value="刪除" onclick="queryDelSubmit()">
</td>
</tr>
17
</tbody>
18
</table>
19
</div>
20
</form>
21
<script language="javascript">
22
function queryAddSubmit()
23
{
24
document.forms[0].action="${req.contextPath}/gsp/healthCuleduAdrchiveOperUI.action?oper=add";
27
document.forms[0].submit();
28
}
29
function queryModSubmit()
30
{
31
if(!selectIsState()){return;}
32
document.forms[0].action="${req.contextPath}/gsp/healthCuleduAdrchiveOperUI.action?oper=mod";
35
document.forms[0].submit();
36
}
37
function queryDelSubmit()
38
{
39
if (!selectIsState()){
40
return;
41
}else{
42
if (confirm("確定刪除此教育培訓信息嗎?")){
43
document.forms[0].action = "${req.contextPath}/gsp/healthCuleduAdrchiveOperUI.action?oper=del";
46
document.forms[0].submit();
47
}
48
}
49
}
50
</script>
51
</html>
52

2

3

4

5

6

7



8

9

10

11

12

13

14

15



16

<tr>
<td>
<input type="button" name="query" value="增加" onclick="queryAddSubmit()">
<input type="button" name="modif" value="修改" onclick="queryModSubmit()">
<input type="button" name="delet" value="刪除" onclick="queryDelSubmit()">
</td>
</tr>
17

18

19

20

21

22

23


24

27

28

29

30


31


32

35

36

37

38


39


40

41


42


43

46

47

48

49

50

51

52
