Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

lightweight alternative to jquery-ui autocomplete plugin? [closed]

does anyone know of a lightweight alternative to the jquery-ui autocomplete plugin?

I'm not using any other jquery-ui components in the project (base lib is jquery 1.5.2). So dont feel I can justify adding 20k (minified) just for simple autocomplete on a single search field.

possible options so far are:

https://github.com/agarzola/jQueryAutocompletePlugin

http://code.google.com/p/jquery-autocomplete/

I dont want to roll my own plugin for such standard functionality .. surely there has to be a great solution out there already?

like image 263
zack Avatar asked Jun 03 '11 17:06

zack


1 Answers

Sorry but I believe that your research of alternatives will not pay off.

For the other alternatives that you suggested the minified weight is 14.52 kb (agarzola) and 10KB (jquery-autocomplete), so 20KB from the most tested and complete solution doesn't seems like too much to me.

I think you should pay more attention to other important aspects of each plugin instead of the size when the difference is so tiny. Even more in the case of autocomplete functionality, which will consume bandwidth on each automatic search, so I guess I would not use autocomplete if my first concern were the bandwidth.

like image 190
Mariano Desanze Avatar answered Nov 17 '22 14:11

Mariano Desanze