jQuery UI - Draggable is not a function?

后端 未结 17 2729
旧时难觅i
旧时难觅i 2020-11-27 18:49

I\'ve trying to use the draggable effect on some divs on a page, but whenever I load the page, I get the error message:

Error: $(\".draggable\").draggable is         


        
17条回答
  •  甜味超标
    2020-11-27 19:10

    A common reason occurs is if you don't also load jqueryui after loading jquery.

    For example:

    
    
    

    EDIT. Replace the version number for each library with appropriate or latest values for jquery and jqueryui.

    If this doesn't solve the issue, review suggestions in the many other answers.

提交回复
热议问题