jQuery .sortable is not a function

前端 未结 5 1567
南方客
南方客 2020-12-11 00:24

Even though I\'ve followed the directions in the jQuery UI documentation, I\'m getting the error that .sortable is not a function.
Here is my code:



        
5条回答
  •  南笙
    南笙 (楼主)
    2020-12-11 01:02

    I figured it out. The page that I needed sortable for is loaded into a div within my main page. I had to add the jQuery UI script to that jsp rather than the main page jsp. Funny how that worked out.

提交回复
热议问题