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
Why is it called javascript?
What is the difference between innerhtml & innertext?
What is the best site to learn javascript?
What is javascript used for on iphone?
How are object properties assigned?
What are javascript closures?
Why javascript is so popular?
How to test 404 page in QA
What is break and continue statements?
What is a name function in javascript?
What is the requirement of debugging in javascript?
How can you create an Array in JavaScript?
What is argument objects in javascript?
How to clone an object in javascript?
What is a nan value?