728x90
[해결완료] 상품상세정보 css 수정하기
jQuery 버전 오류인건지 $("#tabs").tabs(); 라인이 계속 오류가 났다.
** 참고했던 해결방법
스크립트가 로드되는 순서는 매우 중요합니다. 순서는 다음과 같습니다:
(1) Load the jQuery UI CSS file.
(2) Load the jQuery library.
(3) Load the jQuery UI library.
(4) Run your JS file (index.js in the example).
➡ 이 순서에 맞춰 수정해도 tabs 부분에 오류가 계속 일어났다.. 아예 부트스트랩 형식을 바꾸기로 결정!
TypeError: $(...).tabs is not a function in jQuery | bobbyhadz
To solve the "$(...).tabs is not a function" jQuery error, make sure to load the jQuery library before loading the jQuery UI library. The libraries have to be loaded only once on the page, otherwise the error is thrown.
bobbyhadz.com
🕵️♂️ 해결방법
1) CSS 틀을 새로 따와서 적용했다.
2) tabs(); 라인이 빠지니 그 아래 실행되지 않았던 코드들이 잘 작동되기 시작했다.
(바로구매, 장바구니가 잘 연결됨!)
728x90
'🌎 Project > Shopping' 카테고리의 다른 글
[ERROR] 쇼핑몰 플젝 에러모음 - 9 / 결제모음 (0) | 2023.01.26 |
---|---|
[ERROR] 쇼핑몰 플젝 에러모음 - 7 / 바로구매 / 장바구니 (0) | 2023.01.20 |
[ERROR] 쇼핑몰 플젝 에러모음 - 6 / 장바구니 (0) | 2023.01.14 |
[ERROR] 쇼핑몰 플젝 에러모음 - 5 / 메인 페이지 (0) | 2023.01.10 |
[ERROR] 쇼핑몰 플젝 에러모음 - 4 / 상품등록 페이지 (2) | 2023.01.07 |