This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60785

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] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: performance enhament in combo re-loading
Similar Threads
dropdown selection in Struts2
Using JSTL variables in a Javascript?
implementing dynamism dropdown box
Getting a dropdwon value from a jsp page
Handling Browser Back Button & Multiple Tabs