Pranay Rana: Java Script To Fill UP combo box form other one

Thursday, September 17, 2009

Java Script To Fill UP combo box form other one

for(var i=0;i<(document.getElementById(idBilling)).length;i++) { (document.getElementById(idBilling)).remove(i); } for(i=0;i {

var newOption = new Option();
newOption.text = objPersonal[i].text;
newOption.value =objPersonal[i].value;
var billing = document.getElementById(idBilling);
(document.getElementById(idBilling)).options[i] = newOption;
}

No comments:

Post a Comment