배열1 [jQuery] JSP Checkbox(체크박스)처리하기 @ 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 ${targetDivCodeList.className} $(document).ready(function(e){ $(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.. 2018. 4. 25. 이전 1 다음