jQuery UI - Draggable is not a function?

后端 未结 17 2730
旧时难觅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:20

    I went through both your question and a another duplicate.
    In the end, the following answer helped me sorting things out:
    uncaught-typeerror-draggable-is-not-a-function

    To get rid of :

    $(".draggable").draggable is not a function anymore

    I had to put links to Javascript libraries above the script tag I expected to be working.

    My code:

    
    
    
    

提交回复
热议问题