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

How do you write a comment in javascript?

844


What does three dots mean in texting?

898


What is dhtml in javascript?

876


What is dataview in javascript?

918


How do I enable cookies safari?

870


How can you get the total number of arguments passed to a function?

1044


How to read elements of an array in JavaScript?

1061


What is the difference between sessionstate and viewstate?

907


What is the difference between var and let?

906


What is argument objects in javascript?

908


what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.

2013


How do you create array in javascript?

967


What value does prompt() return if the user clicked the cancel button?

840


What is the function of deferred scripts?

1002


How to add a new property in existing function javascript?

936