$(...)。ejListBox在设置为另一个函数时不是函数。 [英] $(...).ejListBox is not a function when set it into another function.
本文介绍了$(...)。ejListBox在设置为另一个函数时不是函数。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
function loadData(){
allTasks = CallAjax(' /计划/ GetTasks' 跨度>);
backlogTasks = getTasksByState( 1 );
resolvedTasks = getTasksByState( 2 );
closedTasks = getTasksByState( 3 );
$( #listBacklog)。ejListBox({
dataSource:backlogTasks
});
..................
};
我想这样设定,但是它响应是$(...)。ejListBox不是函数。
谢谢大家,
解决方案
< blockquote>( #listBacklog)。ejListBox({
dataSource:backlogTasks
});
..................
};
我想这样设定,但是它的响应是
(...)。ejListBox不是一个函数。
全部谢谢,
按照文档的说明来实现ejListBox插件,它们通常位于您从中获取的网站上。您将缺少脚本标记,或者脚本标记的顺序错误为\ location。
function loadData() {
allTasks = CallAjax('/Plan/GetTasks');
backlogTasks = getTasksByState(1);
resolvedTasks = getTasksByState(2);
closedTasks = getTasksByState(3);
$("#listBacklog").ejListBox({
dataSource: backlogTasks
});
..................
};
I want set like that, but it respond is $(...).ejListBox is not a function.
Thanks all,
解决方案
("#listBacklog").ejListBox({ dataSource: backlogTasks }); .................. };
I want set like that, but it respond is
(...).ejListBox is not a function.
Thanks all,
Follow the documentation\instructions for implementing the ejListBox plug in, they are usually on the site you got it from. You will be missing a script tag, or have the script tags in the wrong order\location.
这篇关于$(...)。ejListBox在设置为另一个函数时不是函数。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文