开发者

$("#contentLeft").sortable in jquery is not a function [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicab开发者_Python百科le to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 10 years ago.

i'm using jquery-1.7.1 ui.js and jquery 1.4.4

i'm getting the above error don't know why its behaving like this.

Any help could be appreciable

Thanks in Advance --Vam.


You have to check:

  • jquery is loaded
  • jquery ui is loaded after jquery
  • jquery ui contains the sortable module (see jquery ui download)
  • your code is in a $(document).ready(function(){ }) block

    < script src="jquery.js" >< /script >  
    < script src="jquery-ui.js" >< /script >  
    < script >  
        $(document).ready(function(){  
            $(“#contentLeft”).sortable();  
        });  
    < /script >  
    
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜