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 the use of math object in javascript?

933


What is object freeze?

869


What do you mean by enumeration?

954


List some data types supported by javascript?

897


What is use of object as function?

1049


Which companies are using node js?

872


What is variable typing in javascript?

1035


How to find the selected radio button immediately using the 'this' variable?

929


What is "this"?

912


What is a good javascript editor?

1022


What is the scope of a function?

975


Why is javascript so important?

947


Explain the working of timers in JavaScript? Also elucidate the drawbacks of using the timer, if any?

984


What is a module in javascript?

1045


What are the methods involved in javascript?

1016