일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Oracle LISTAGG 사용 예시
- formgroup
- 스크롤 이벤트 감지
- Angular Router
- angular button
- 스크롤 이벤트
- ajax 사용 예시
- 앵귤러 모달
- TAILWIND
- summary
- 모달
- 검색
- mysql if
- Router
- angular animation
- 셀렉트박스 커스텀
- prisma
- angular modal
- 아이오닉 스크롤 이벤트
- egov spring ajax 사용 예시
- flex-1
- scroll
- angular route
- modal
- ApexChart
- 호버
- 앵귤러 애니메이션
- 옵저버블
- Ionic modal
- route
- Today
- Total
목록egov spring ajax 사용 예시 (3)
깜놀하는 해므찌로
1. 각 메뉴 클릭 시 해당하는 최근 게시글 및 사진 출력 시공사례 추천설계 시공현장 인테리어사례 2. JSP onclick 함수를 달아 구분값을 전송 function port(category){ $.ajax({ method : "POST", url : "/ft/main/addList.do", data : {"category" : category}, dataType: "html", success : function(data){ $("#main_tab01").html(data); } }) } 3. ajax 함수 선언 4. 결과 값인 html 문자열을 html 함수를 활용해 읽은 후 id = "main_tab01" 에 붙인다. ${result.poTitle }${result.poRgstDt }상세보기 + $..
$.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 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);..