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 does the delete operator do?

939


If 2 methods have same name and same number of parameters, which one will be executed first?

934


What are escape characters in javascript?

943


What is innertext javascript?

973


What is the context in javascript?

938


What is the prototype object in javascript and how it is used?

982


How do you write a comment in javascript?

874


What is singleton class in javascript? Explain

985


What is object freeze?

881


What is the disadvantage of javascript?

920


How to convert json object to string?

1047


What are the difference between undefined and not defined in javascript?

1006


What is event in javascript?

966


What is the statement to enable strict mode in javascript quiz?

1072


What is double exclamation point?

936