Answer Posted / rubin thomas
var regiondb_stcty = new Object()
regiondb_stcty["Andaman and Nicobar"] = [ {value:"Port
Blair", text:"Port Blair"}];
u can do assign option elements with this object;
like a state city dyanmic population.
email me if u want thsi code
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the main uses of javascript?
What does js stand for?
What is undefined value means in javascript?
Which software is best for javascript?
What is scope of variable in javascript?
What is output of “20” + 20 + 20 and “20” + ( 20 + 20)? In javascript?
What does question mark mean in react?
Explain javascript event delegation model?
What is scope chain in javascript?
What is strict mode in javascript?
How can an HTMLCollection be traversed?
Why javascript is fast?
What is prototype in javascript and how do you use it?
What is a noscript tag?
How to add/remove properties to object dynamically in javascript?