codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  loading is taking more time  neelim at 03:39 on Friday, May 19, 2006
 

I have two combo boxes .one will have 12000 values which are loaded on page load.
i have one button called select all. when i click on that button all the vaues of first combobox should come to second.This is working in my system but taking 5 mins of time.how to reduce this.

here is the code we are using

for(var i=0; i<document.frm.origin.options.length; i++){
document.frm.destination.options = new Option(document.frm.origin.options.text,document.frm.origin.options.value);
count++;
}
Is this correct way .Please help me if any one knows as we are having a release near by.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: How can I read ASCII data file in C++
•  Display new link everyday for whole year in a sequence
•  sending soap requests
•  New to Data Access Classes
•  format date/time to return to database - second attempt
•  format date/time to return to database
•  Trying to create a C++ Object Oriented game
•  Re: Help: Trouble with z-Index and SELECT lists
•  Popup blockers


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2006