mdb.min.js:1 Uncaught TypeError: Cannot read property 'addEventListener' of null
* 개요 mdb.js 추가했는데 다음 오류 나며 미작동 mdb.min.js:1 Uncaught TypeError: Cannot read property 'addEventListener' of null at Object.t.init (mdb.min.js:1) at mdb.min.js:1 * 해결 body 로딩 완료 후 해당 js 가 작동해야 하는데 순서가 바뀌면서 없는 요소롤 불러와 생기는 오류 https://mdbootstrap.com/support/general/uncaught-typeerror-cannot-read-property-addeventlistener-of-null/ 불러오는 중입니다... head 에 쳐박혀 있는 mdb.js 호출 부분을 body 로 보내자 해결
SW개발
2020. 2. 6. 20:51