开发者

jquery ui autocomplete: remote source problem

开发者_如何转开发

Im using jquery UI autocomplete.

When i use a local variable as source everything works as it should.

var json = [{ value: "1", ... etc
...
source: json

But when i return the same source from another file, it doesnt work. I find the JSON object in firebug, but when i type

source: 'path/to/filethatreturnsjson...'

It doesnt work. Did i miss something? THanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜