memostack
article thumbnail
[오류 해결] $.ajax is not a function 해결 방법
Frontend 2020. 12. 14. 00:20

Uncaught TypeError: $.ajax is not a function 오류 용량을 줄이려고 slim 빌드 jQuery를 사용했었는데, slim 빌드를 사용하게되면, $.ajax()를 사용할 수 없다. 구글에 검색해본 결과, stack overflow 에서 아래 글을 찾았다. 그래서, 아래와 같이 slim을 뺀 빌드 버전으로하면 해결된다. Reference 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 ..