English 中文(简体)
j 优质自动网
原标题:jQuery Auto complete dropdown box

在几乎两天的搜索和研发之后;D 最后,我得出了我认为值得和适合我的网络应用的、基于“质量”的碎片。

我推出一个基于MVC2的网络应用程序,I m在伙伴关系中开发。 净额C#. I ve L2S(LINQ至QQ)是我的DAL,我利用服务层结构通过L2S收集数据。

Now, I m going to have some "Look ups" in which the list of selection might be big (i.e. 1000 or more records) so at times I want my auto-complete look up to be dynamic (i.e. I give the page from which it ll get the values and show in the dropdown) But there re simple ones also like 10-20 values which I want to render statically.

In short I need something v.simple and straight forward auto-complete plugin which does the job without asking me too many questions or requiring too many .js files (of course excluding jQuery).

随同我的结论,随函附上我的“研发”摘要——

*Pls consider the (dot) above as my ratings. After some insights and demo reviews I ve concluded that I ll go with #4 the dyve.net auto-complete plugin because it seems to be doing everything I need and most importantly its not complex.

你们发现,第3号功能丰富,其规模远远大于其规模,因此我可以选择。 FYI, #2不过是第3号的主要版本(但我面临的唯一问题是,它(第2号)只是开始配对,其中的配对更好)。

希望一线前进。


EDIT:

Well after a night-out and more then 20 hours of struggling and experimenting. I conclude that with jQuery I need to choose something which has a bigger support. With option #4 -The main problem came in when I wanted to populate a child dropdown based on parent It does populate dynamically but it persists the old items as well so while searching - the old ones will popup! I tried its cacheFlush, etc.. but it didn t worked. Finally, I posted my comment on the author s google code page and left it.

  • My final take would be to use jQueryui - well I can do with some complexity when I m getting too many other plugins who share the same library. So, my vote goes to option #3
最佳回答

我最后说,它没有发现任何搜索结果,而且每当用户类型时,它都会根据AJAX进行搜索。

我的伤口包括 j鱼的档案,而不是包括一夫一刀的档案,这些档案在捆绑时大小相同。 当一个档案是小块杂质时,最好有单一文档下载,而后是多丘。

在某些情况下可能比较可取的其他建议:

hyjack: Cool because it converts a dropdown into auto-complete. Great if I was able to render the dropdown instead of dynamic lookup. http://frontensemble.com/hyjack/

jQuery Autocompleter: I had to let it go because of an issue with Parent-child auto-complete http://code.google.com/p/jquery-autocomplete/issues/detail?id=41

问题回答

暂无回答




相关问题
PHP Combo Box AJAX Refresh

I have a PHP page that currently has 4 years of team positions in columns on the page. The client wants to select the players in positions and have first, second and thrid choices. Currently the page ...

jquery + ajax + json + fill dropdown list not working

I m pretty sure i am almost there....but i cannot figure out how to iterate through json objects and fill a dropdown list. Here is the js code: My JSON data returned:{"name":"County1","name":"County1"...

Gridviews and DropdownLists

Is it possible to change the data source of a dropdown list in a gridview from another dropdown list selected index changed method in the same gridview? for example I have a dropdown that needs to ...

Adding a new value to the drop down list box

I have a drop down list box which has one of the values to be others. I want to move these value to the last. Please help me with this. The code i am using is as follows ddlAssetsCountryOthersone....

Show hide div using codebehind

I have a DropDownList for which I am trying to show a div OnSelectedIndexChanged but it says OBJECT REQUIRED. I am binding the DataList in that div: aspx: <asp:DropDownList runat="server" ID="...

Why might dropdownlist.SelectedIndex = value fail?

I have a dropdown list that I am binding to a datatable. Here is the code I am using to do it: ddlBuildAddr.DataSource = buildings ddlBuildAddr.DataTextField = "buildingName" ddlBuildAddr....

热门标签