尝试使用libLink feature with NoUISlider时出现以下错误:
未捕获TypeError:undefined不是函数(jquery.liblink.js:260
代码行:
// If the Link requires creation of a new element,
// Pass the element and request confirmation to get the changehandler.
// Set the method to be called when a Link changes.
linkInstance.changeHandlerMethod = this.LinkConfirm( flag, linkInstance.el );
在我的HTML中,我有以下代码:
<div id="slider" ></div>
我的Javascript:
$("#slider").noUiSlider({
start: 20,
range: {
'min': 10,
'max': 50
}
});
$("#slider").Link('lower').to('-inline-');
我在页面中包含了NoUISlider和liblink库。
我没有看到价值标签。我怎么解决这个问题?谢谢!
答案 0 :(得分:5)
也和我一起发生。
获取最新的js文件,它可以正常工作。