Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to add a combo box dynamically at run time in Java
script?

Answer Posted / kannappanksk

for (var i=0;i<5;i++)
{
document.forms[0].cmb1.options[i]= new Option("Test"+i,i)
}

Is This Answer Correct ?    77 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it called javascript?

996


What is the difference between innerhtml & innertext?

928


What is the best site to learn javascript?

935


What is javascript used for on iphone?

956


How are object properties assigned?

963


What are javascript closures?

1133


Why javascript is so popular?

937


How to test 404 page in QA

2557


What is break and continue statements?

1053


What is a name function in javascript?

1070


What is the requirement of debugging in javascript?

1002


How can you create an Array in JavaScript?

1082


What is argument objects in javascript?

982


How to clone an object in javascript?

1060


What is a nan value?

997