jQuery UI: TypeError: $(…).accordion is not a function

前端 未结 4 1381
予麋鹿
予麋鹿 2021-02-18 21:00

For some reason the jQuery UI Accordion does not work. I keep getting this error:

TypeError: $(...).accordion is not a function

4条回答
  •  北恋
    北恋 (楼主)
    2021-02-18 21:50

    The order of the js files matters!

    /external/jquery/jquery.js should be listed above jquery-ui.js!
    

提交回复
热议问题