728x90
반응형
@
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
|
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
$(document)
.on("change", "#searchCompanyId", function(e) {
$("#pageIndex").val("1");
var tmpTypeCds = "";
$("input:checkbox[name='targetDivCodeList']").each(function() {
if (this.checked) {
tmpTypeCds += this.value + ",";
}
});
tmpTypeCds = tmpTypeCds.substring(0, tmpTypeCds.lastIndexOf(','));
$("#searchTargetDivCd").val(tmpTypeCds);
$("#frm").attr("action", "<c:url value='/testList.do'/>");
$("#frm").submit();
});
fn_ready();
});
function fn_ready(){
let chkSchoolItem = fn_checkItem("schoolItem");
console.log("chkSchoolItem:"+chkSchoolItem);
if (chkSchoolItem==false){ return false; }
let chkCertificateItem = fn_checkItem("certificateItem");
console.log("chkCertificateItem:"+chkCertificateItem);
if (chkCertificateItem==false){ return false; }
let chkCareerItem = fn_checkItem("careerItem");
console.log("chkCareerItem:"+chkCareerItem);
if (chkCareerItem==false){ return false; }
$("#frm").attr("action", "<c:url value='/test/testUpdateAct.do'/>");
$("#frm").submit();
})
;
}
//]]>
</script>
|
cs |
@
728x90
반응형