|
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.
|
|
|
|
|
|
|
|