Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you assign object properties?

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


Please Help Members By Posting Answers For Below Questions

Is javascript hard to learn?

837


What is a prompt box in javascript?

933


What are two-way data binding and one-way data flow, and how are they different?

1006


What is the difference between rootscope and scope?

899


How to empty an array in JavaScript?

983


How to create arrays in javascript?

908


Explain typecasting in javascript?

851


What are the scopes of a variable in javascript?

1057


What does "1"+2+3 evaluate to?

886


What are math constants and functions using javascript?

936


Can you explain how inheritance works in javascript?

883


What are self Executing Functions?

1071


What is data type in javascript?

913


Are java and javascript same?

903


Which built-in method returns the calling string value converted to upper case?

910