我使用来自另一个线程以下代码(见下文),未知原因,我收到以下错误:qTip错误 - 对象没有方法“qtip”
Uncaught TypeError: Object [object Object] has no method 'qtip'
$('.tooltip').each(function(){
$(this).qtip({
content: {text: $('#helptext_' + $(this).attr('id'))},
style: {classes: 'ui-tooltip-dark ui-tooltip-rounded'},
position: {my: 'left center',at: 'right center', viewport: $(window)}
});
});
真的很感谢一些帮助。
谢谢。
感谢所有答复。实际上,我的代码中有qTip.js调用,但它看起来像我有一个重复的,这导致了我的问题。删除了重复,现在好了。再次感谢。 – tonyf