$("#contentLeft").sortable in jquery is not a function [closed]
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 >
精彩评论