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 difference between deep and shallow object coping in javascript?
What is an immediately-invoked function expression?
How to setting a cookie with the contents of a textbox?
Name the datatypes of javascript?
just for testing
What is client side in javascript?
How to find the selected radio button immediately using the 'this' variable?
What coding language should I learn first?
What is the requirement of debugging in javascript?
Is javascript used for backend?
How will you explain closures in javascript? When are they used?
How to add multiple functions in javascript?
How can you declare a class in javascript?
Are javascript variables case sensitive?
What are the seven data types of javascript?