jQuery in Action, 3rd edition
The moose likes JSP and the fly likes performance enhament in combo re-loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "performance enhament in combo re-loading" Watch "performance enhament in combo re-loading" New topic

performance enhament in combo re-loading

Gauravu Arorau

Joined: Jan 10, 2007
Posts: 3

My page dropdown has around 3000 values. When i tried to reduce the number of values in page dropdown then it took around 25 seconds. Is there any optimize code to reduce that time?

My code snippet:

function show(x)

Initially, dropdown has 3000 values.
[ January 12, 2007: Message edited by: Gauravu Arorau ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

There's no such thing as a "combo" on the web. I assume you mean a select element, sometimes called a dropdown.

That's far too many values to be inundating a user with in a dropdown. You should investigate other ways to present this to the user.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: performance enhament in combo re-loading
It's not a secret anymore!