简体   繁体   English

jQuery AutoComplete具有三个级别的建议?

[英]jQuery AutoComplete with three levels of suggestions?

I am building a django based application and its time to add the DHTML stuff. 我正在构建一个基于django的应用程序及其添加DHTML内容的时间。

One of my fields represent a database field with this format databaseName.tableName.fieldName 我的一个字段代表数据库格式为databaseName.tableName.fieldName的数据库字段

I would like to have javascript autocompletion in three levels, say once I type part of the database names I get a list of all matching databases, one that is selected I get a list of all tables, and once that is selected I get a list of all fields in that table, all in the same textfield. 我想在三个级别上实现javascript自动补全功能,比如说,一旦我输入了部分数据库名称,我就会得到所有匹配数据库的列表,一个被选中的数据库我会得到一个所有表的列表,而一旦选中它我就会得到一个列表。该表中所有字段的所有字段,都在同一文本字段中。

Any help would be appreciated. 任何帮助,将不胜感激。

Thanks 谢谢

M 中号

设法与jquery.autocomplete(multiple:true)选项有关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM