views:

42

answers:

2

I've recently run into a problem where too many drop down lists on a page have resulted in performance issues. I was just wondering if changing these dropdownlists to inputs would remedy the situation at all?

I was thinking of using the spinner jquery UI plugin as an alernative.

Any suggestions? thanks in advance

Shawn

A: 

If you rely entirely on JavaScript, what happens if a request fails, or someone browses the site on a mobile device or has JavaScript disabled?

If you have many drop down lists that have a lot of data in each one, maybe you could change the website flow to ask for less at once? It's difficult to say without knowing the specifics.

I think AJAX should be used to progressively enhance the page, rather than as a fundamental component to access the functionality.

Sohnee
It's a web application. The user must have javascript enabled to use it and there is no way around it.
ErnieStings
Oh dear, that's terrible. I've never written a web application that wouldn't work with JavaScript disabled as it's such bad practice - so I can't really advise you on this scenario.
Sohnee
A: 

I would not see text inputs as an alternative to dropdowns because they differ a lot in user experience.

Dropdown lists are rendered natively by the browser interface and therefore should not be a DOM rendering bottleneck. Are you sure that they were the reason of the problem? How much of them did you have? Tens, hundreds, thousands?

Could you show us the page you are talking about?

warpech
i'll be using jquery spinner so they will have the same functionality as a dropdown
ErnieStings
Large numbers of dropdowns are indeed slow in IE (at least up to IE7).
bobince