Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- summary
- angular route
- Angular Router
- 모달
- angular animation
- ajax 사용 예시
- 스크롤 이벤트
- 앵귤러 애니메이션
- prisma
- 아이오닉 스크롤 이벤트
- TAILWIND
- modal
- formgroup
- Oracle LISTAGG 사용 예시
- flex-1
- angular modal
- route
- egov spring ajax 사용 예시
- scroll
- angular button
- 앵귤러 모달
- mysql if
- Ionic modal
- 옵저버블
- 스크롤 이벤트 감지
- 호버
- 검색
- 셀렉트박스 커스텀
- Router
- ApexChart
Archives
- Today
- Total
목록이중 ajax 사용 (1)
깜놀하는 해므찌로
Egov Spring multi ajax 사용 예시 / ajax Promise 방식 / 이중 ajax 사용 예시 JavaScript
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);..
IT
2022. 7. 6. 08:56