TOP001_C.inc
1.49 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
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
function cal_get(strDate, divid){
arrYMD = strDate.split("/");
if(divid == "calid"){
objY = document.e_gru.st_year;
objM = document.e_gru.st_mon;
objD = document.e_gru.st_day;
objY2 = document.e_gru.ed_year;
objM2 = document.e_gru.ed_mon;
objD2 = document.e_gru.ed_day;
}else if(divid == "calid2"){
objY = document.e_gru.ed_year;
objM = document.e_gru.ed_mon;
objD = document.e_gru.ed_day;
}else if(divid == "calid3"){
objY = document.e_gru.alarm_nen;
objM = document.e_gru.alarm_mon;
objD = document.e_gru.alarm_day;
}
//ǯ
for(i=0;i<objY.options.length;i++){
if(objY.options[i].value == arrYMD[0]){
objY.selectedIndex = i;
if(divid == "calid"){
objY2.selectedIndex = i;
}
break;
}
}
//·î
for(i=0;i<objM.options.length;i++){
if(objM.options[i].value == arrYMD[1]){
objM.selectedIndex = i;objM.selectedIndex = i;
if(divid == "calid"){
objM2.selectedIndex = i;
}
break;
}
}
//·î
for(i=0;i<objD.options.length;i++){
if(objD.options[i].value == arrYMD[2]){
objD.selectedIndex = i;
if(divid == "calid"){
objD2.selectedIndex = i;
}
break;
}
}
cal1 = new JKL.Calendar("calid","e_gru","colname");
cal2 = new JKL.Calendar("calid2","e_gru","colname2");
cal3 = new JKL.Calendar("calid3","e_gru","colname3");
}
var cal1 = new JKL.Calendar("calid","e_gru","colname");
var cal2 = new JKL.Calendar("calid2","e_gru","colname2");
var cal3 = new JKL.Calendar("calid3","e_gru","colname3");
-->
</script>