How do you assign object properties?
Answers were Sorted based on User's Feedback
Answer / m_xyz
var obj=new Object();
obj["age"]=18; or obj.age=18
| Is This Answer Correct ? | 19 Yes | 0 No |
var obj=new Object();
obj["age"]=18; or obj.age=18
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
What is an external javascript?
what is a dataset
What output will this program produce System.out.println(x+"+"+y+"="+(x+));
What is viewstate in javascript?
How compare function works javascript?
List out all the falsifying tokens in Javascript?
What is eval() in javascript?
How are tag positions used in javascript?
What is a scope in javascript?
What is the use of Push method in JavaScript?
How can you do a character count in javascript?
Explain the process of document loading.