Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 오라클
- error
- 쿼리
- oracle
- 방법
- db
- 프로그래머스
- 자바
- 넥사크로
- JavaScript
- aws
- IntelliJ
- jquery
- JPA
- 알고리즘
- Spring
- 코틀린
- 함수
- 스프링
- mybatis
- 생성
- GitHub
- 시큐리티
- Security
- Vue
- Java
- Git
- 에러
- Eclipse
- kotlin
Archives
- Today
- Total
송민준의 개발노트
$.ajax is not a function(jQuery 에러) 본문
ajax를 사용해서 테스트를 해보는데 $.ajax is not a function 에러가 발생했다.
아래 스택오버플로우를 참고했다.
https://stackoverflow.com/questions/18271251/typeerror-ajax-is-not-a-function
TypeError: $.ajax(...) is not a function?
I'm trying to create a simple AJAX request which returns some data from a MySQL database. Here's my function below: function AJAXrequest(url, postedData, callback) { $.ajax() ({ type: ...
stackoverflow.com
원인은 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 |