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
What does the delete operator do?
If 2 methods have same name and same number of parameters, which one will be executed first?
What are escape characters in javascript?
What is innertext javascript?
What is the context in javascript?
What is the prototype object in javascript and how it is used?
How do you write a comment in javascript?
What is singleton class in javascript? Explain
What is object freeze?
What is the disadvantage of javascript?
How to convert json object to string?
What are the difference between undefined and not defined in javascript?
What is event in javascript?
What is the statement to enable strict mode in javascript quiz?
What is double exclamation point?