LIN006_0.inc
884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
var SFlg = false; //サブミットフラグを定義
function DoubleSubmit(){ //ダブルサブミットチェック関数
if (SFlg){ //ダブルサブミットの場合
alert("応答中です"); //メッセージを出力
return false;
}
SFlg = true; //サブミットフラグを設定
return true; //戻り値を設定
}
function chk(){
if (hissu_chk("カテゴリ名",document.e_gru.strCate_Name.value)==false) {
document.e_gru.strCate_Name.focus();
return false;
}
if (script_chk("カテゴリ名",document.e_gru.strCate_Name.value)==false) {
document.e_gru.strCate_Name.focus();
return false;
}
document.e_gru.action = "LIN006_1.php";
document.e_gru.method="POST"
document.e_gru.submit();
return false;
}
function back(){
if (DoubleSubmit()) {
document.e_gru.action = "LIN006.php";
document.e_gru.method="POST"
document.e_gru.submit();
}
}
-->
</SCRIPT>