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

What is node value?

952


What is slug in javascript?

1052


What is a prompt box in javascript?

998


What is the requirement of debugging in javascript?

967


what is a code in vb amount display in words

1956


Which type of variable among global and local, takes precedence over other if names are same?

992


How do I write script-generated content to another window?

952


What is meaning of === in javascript?

991


What are all the types of Pop up boxes available in JavaScript?

1111


How do I enable cookies and javascript?

930


How do I view javascript in chrome?

882


Why do we need to declare variables?

939


Javascript, Pass by Value or Pass by Reference?

990


How to create scale in P info

2446


Why is javascript dangerous?

959