Notice
Recent Posts
Recent Comments
송민준의 개발노트
$.ajax is not a function(jQuery 에러) 본문
ajax를 사용해서 테스트를 해보는데 $.ajax is not a function 에러가 발생했다.
아래 스택오버플로우를 참고했다.
https://stackoverflow.com/questions/18271251/typeerror-ajax-is-not-a-function
원인은 jquery를 가져올때 (난 cdn) slim으로 가져왔다.
slim 으로 가져오게 될 경우 ajax는 지원을 안해주나보다.
그래서 기본적인 모드를 가져왔다.
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
'웹 > jQuery`' 카테고리의 다른 글
썸머노트(summernote) 불러온 데이터 입력 (0) | 2020.01.19 |
---|---|
ajax 통신 후 script가 먹통일 때(jQuery) (2) | 2020.01.17 |
HTML 달력(jQuery, bootstrap 사용) (0) | 2019.11.07 |
jQuery 반복문에서 break , continue 실행 (0) | 2019.11.05 |
jQuery로 회원가입 유효성 검사 (0) | 2019.10.30 |