일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- modal
- prisma
- mysql if
- TAILWIND
- angular button
- Oracle LISTAGG 사용 예시
- summary
- flex-1
- scroll
- 옵저버블
- 앵귤러 애니메이션
- Angular Router
- route
- 스크롤 이벤트
- 셀렉트박스 커스텀
- Router
- 모달
- angular route
- 검색
- ajax 사용 예시
- egov spring ajax 사용 예시
- angular animation
- 아이오닉 스크롤 이벤트
- formgroup
- 앵귤러 모달
- Ionic modal
- angular modal
- 스크롤 이벤트 감지
- 호버
- ApexChart
- Today
- Total
목록IT (598)
깜놀하는 해므찌로
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/by18Ig/btrGzvFV0tO/YDWlDgZz681ZrrFTiJ4Wg1/img.png)
var arrData4 = new Array(); var divn = ""; var textDivn = ""; /* 정확한 소수점 반올림 */ function fncMathRound(num, scale) { if(!scale){scale = "0";} return +(Math.round(num+"e+"+scale)+"e-"+scale); } $(function(){ if("${proc}" == "eat"){ divn = "원"; textDivn = "사용 금액"; }else if("${proc}" == "overTime"){ divn = "시간"; textDivn = "초과 근무"; } var names = "${info.split('_')[0]}"; var info = "${info.split('_')..
$.ajax({ method: "POST", url: "/updatePwd.do", data : $("#popFrm").serialize(), dataType: "JSON", success: function(data) { if(data.result){ alert("비밀번호 변경이 완료되었습니다."); view_hide(1); }else{ alert("아이디 혹은 비밀번호가 틀렸습니다."); } },complete : function(){ } }); 1. serialize 함수 : form 내부 name 값 직렬화 2. dataType : 리턴 받을 데이터 타입 JSON /* 비밀번호 변경 ajax */ @ResponseBody @SuppressWarnings("rawtypes") @RequestMappi..
$("#new_pwd_chk").keyup(function(){ if(event.keyCode == 13){ fncUpdatePwd(); return false; } }); 1. Enter 키 코드 번호 : 13번
new Promise((succ, fail)=>{ $.ajax({ url: "./ajax1.php", type: "POST", dataType : "JSON", success: function(result) { // 성공 succ(result.data); console.log(result.data); }, fail: function(result) { // 실패 fail(error); console.log(result.data); } }); }).then((arg) =>{ // 두번째 ajax를 실행 $.ajax({ url: './ajax2.php', type: 'post', dataType : "JSON", success: function(result2) { // 성공 succ(result2.data);..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/NAUpp/btrGvUznW93/kuW0FDZLU5iAolDGMySHuk/img.png)
1. 체크박스 display:none 설정 2. label 태그로 이미지 감싸기 3. src 값에 별모양 이미지 경로 명시 4. 별 모양 파일 이름은 각각 _Y, _N 으로 저장 function fncFvrtsOneCheck(obj){ var chk_state = ""; var id =obj.id.split("__")[0]; /* 체크 상태 구분 */ if(obj["checked"]){ chk_state = "Y"; $("#img_"+obj.id).attr("src","/publish/mgr/images/star_"+ chk_state +".png"); // 별 이미지 셋팅 }else{ chk_state = "N"; $("#img_"+obj.id).attr("src","/publish/mgr/images..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/wkRYT/btrGsoU15TX/kVZRkDFbORM9MIc5x6mYck/img.png)
1. 사진처럼 개발자 도구에서 해당 메뉴를 통해 Cookie 에 저장된 key : value 를 확인할 수 있다. 공지 사항 ${util:unEscape(list.poTitle)} ${util:unEscape(list.poCont)} 2. JSTL 문법 내에서 cookie.key.value 를 통해 쿠키 값에 접근할 수 있다. function fncP_PopUp(){ if($.cookie("p_popUpYn_${list.poSeq}") == null){ if(hideChk.indexOf("/[${list.poSeq}]") == -1){ } } } 3. jQuery 를 통해 cookie 에 접근할 수 있다.
private String[] baSeq; public String[] getBaSeq() { String[] newArr = null; if(baSeq != null){ newArr = new String[baSeq.length]; for (int i = 0; i < baSeq.length; i++) { newArr[i] = StringUtil.nullConvert(this.baSeq[i]); } } return newArr; } public void setBaSeq(String[] baSeq) { this.baSeq = new String[baSeq.length]; for (int i = 0; i < baSeq.length; i++){ this.baSeq[i] = StringUtil.nullConve..