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 is the use of math object in javascript?
What is object freeze?
What do you mean by enumeration?
List some data types supported by javascript?
What is use of object as function?
Which companies are using node js?
What is variable typing in javascript?
How to find the selected radio button immediately using the 'this' variable?
What is "this"?
What is a good javascript editor?
What is the scope of a function?
Why is javascript so important?
Explain the working of timers in JavaScript? Also elucidate the drawbacks of using the timer, if any?
What is a module in javascript?
What are the methods involved in javascript?