使用ddslick jquery 插件时出现以下错误。尝试太多来修复它,但我无法找出错误所在。有人可以帮助我吗?
错误
c.find(".dd-select").on is not a function
代码
<script type="text/javascript">
$(document).ready(function() {
$('#media_idselect').ddslick({
selectText: "Select the media",
});
});
</script>
<select id="demo-htmlselect">
<option value="0" data-imagesrc="http://dl.dropbox.com/u/40036711/Images/facebook-icon-32.png"
data-description="Description with Facebook">Facebook</option>
<option value="1" data-imagesrc="http://dl.dropbox.com/u/40036711/Images/twitter-icon-32.png"
data-description="Description with Twitter">Twitter</option>
<option value="2" selected="selected" data-imagesrc="http://dl.dropbox.com/u/40036711/Images/linkedin-icon-32.png"
data-description="Description with LinkedIn">LinkedIn</option>
<option value="3" data-imagesrc="http://dl.dropbox.com/u/40036711/Images/foursquare-icon-32.png"
data-description="Description with Foursquare">Foursquare</option>
</select>
jQuery 库版本:jquery-1.6.4.min.js
jQuery UI 版本:jquery-ui-1.8.16.min.js