FLO004_1.inc
2.55 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
var SFlg = false; //サブミットフラグを定義
function DoubleSubmit(){ //ダブルサブミットチェック関数
if (SFlg){ //ダブルサブミットの場合
alert("応答中です"); //メッセージを出力
return false;
}
SFlg = true; //サブミットフラグを設定
return true; //戻り値を設定
}
function loadHTMLFile4(fName,para,seq){
gseq = seq;
httpObj4 = createXMLHttpRequest(displayData4);
if (httpObj4){
//httpObj4.open(Get_BName(),fName+"?"+para,true);
//httpObj4.send(null);
httpObj4.open("POST",fName,true);
httpObj4.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
httpObj4.send(para);
}
}
function displayData4(){
if ((httpObj4.readyState == 4) && (httpObj4.status == 200)){
//document.getElementById("floNo"+gseq).innerHTML = httpObj4.responseText;
//Load1();
Load4();
}else{
document.getElementById("floNo"+gseq).innerHTML = "<b>Loading...</b>";
}
}
function Load1(){
if (DoubleSubmit()){
//document.location = "FLO001.php";
document.location = "FLO001.php?disp_flg=0";
}
}
function Load2(){
if (DoubleSubmit()) {
document.location = "FLO002.php";
}
}
function Load3(){
if (DoubleSubmit()) {
//document.location = "FLO003.php";
document.location = "FLO001.php?disp_flg=1";
}
}
function Load4(){
if (DoubleSubmit()){
document.location = "FLO001.php?disp_flg=1";
}
}
//function set_syori(intNo,intsts,intseq){
function set_syori(intNo,intsts,intseq,inp_Comment,syain_cd){
if (script_chk("コメント",inp_Comment)==false) {
return false;
}
//if (DoubleSubmit()) {
//document.e_gru.intsts.value=intsts;
//document.e_gru.intindex.value=intNo;
//document.e_gru.intsyorists.value=3;
//document.e_gru.action = "FLO005.php"+"intsts="+intsts+"&intindex="+intNo+"&intsyorists=3&intseq="+intseq+"&Comment="+document.e_gru.Comment.value;
//document.e_gru.method="POST";
//document.e_gru.submit();
//}
//alert("intsts="+intsts+"&intindex="+intNo+"&intsyorists=3&intseq="+intseq+"&Comment="+document.e_gru.Comment.value);
//loadHTMLFile4("FLO005.php?intsts="+intsts+"&intindex="+intNo+"&intsyorists=3&intseq="+intseq+"&Comment="+document.e_gru.Comment.value,intseq);
//loadHTMLFile4("FLO005_1.php","intsts="+intsts+"&intindex="+intNo+"&intsyorists=3&intseq="+intseq+"&Comment="+document.e_gru.Comment.value+" ",intseq);
loadHTMLFile4("FLO005_1.php","intsts="+intsts+"&intindex="+intNo+"&intsyorists=3&intseq="+intseq+"&Comment="+encodeURIComponent(inp_Comment)+" &syain_cd="+syain_cd,intseq);
}
-->
</SCRIPT>