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
- 함수
- 리눅스
- select
- 동적테이블
- 코테
- like
- 명령어
- option태그
- Spring
- SQL
- Update
- MySQL
- Ajax
- 변수
- 백틱
- 동적
- JS
- 테이블
- 프로그래머스
- DATE_FORMAT
- 배열
- post방식
- oracle
- 자바스크립트
- 도커
- 인라인뷰
- JSP
- 컨트롤러
- JavaScript
- order by
Archives
- Today
- Total
목록serviceimpl (1)
bom's happy life
[AJAX] ajax - controller 통신 / update 기능
실수한 부분이랑 기억하고 싶은 부분 기록. 일단 update는 return 값이 기본적으로는 필요가 없다. (return 값이 없을 때는 void로 바꿔주) 그런데 return값을 만들어서 성패를 alert하는 용도로 개발하는 것이 좋다.(나는 이걸로 ㄱㄱ) 예제 → jsp 접수 ajax function accept_btn(seq, obj) { console.log("seq = " + seq); if (!confirm("승인하시겠습니까?")) { return; } var data = {"seq" : seq}; $.ajax({ type: "POST", url : "${pageContext.request.contextPath }/admin..
Deveolpment Study🗂️/AJAX
2023. 10. 26. 16:51