How about using the autocomplet 
widget: http://web2py.com/book/default/chapter/07#Autocomplete-Widget. It 
makes Ajax calls as you type to retrieve matching items, so the whole list 
doesn't have to load with the page (or at all). I've had problems with the 
UI display in IE, so an alternative is the jQuery UI autocomplete widget.

If you need the full list of 500+ in your page for some reason, another 
option is to load the full list via Ajax, so it won't slow down the initial 
page load.

Anthony

On Tuesday, November 29, 2011 12:02:08 PM UTC-5, Constantine Vasil wrote:
>
> I have a long list of categories which the user has to add to his My Info.
>
> The issue is the list is very long - about 500 categories and counting.
>
> How it would be the best approach to make this list to load in the HTML
> really quick?
>
> Loading this long list takes considerable time especially on mobile
> devices where the browser is slow.
>
>
>
>

Reply via email to