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 can you set attributes of a model?



How can you set attributes of a model?..

Answer / Ruchir Srivastava

In Backbone.js, you can set attributes of a model by directly assigning the attribute name to its value. For example: `myModel.set('attributeName', 'attributeValue')`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Backbone.js Interview Questions

What are the architecture of backbone.js?

1 Answers  


How can you write the business logic in model?

1 Answers  


How to use to backbone.ajax function?

1 Answers  


What is backbone.js router is used for ?

1 Answers  


What is view in backbone.js?

1 Answers  


What is the use of backbone.js router?

1 Answers  


How the actions performed on model is translated to restful operations? Give an example?

1 Answers  


What is the function of tojson ?

1 Answers  


What are the main components of backbone.js ?

1 Answers  


What is the difference between the properties “id” and “cid” on a model object in backbone js?

1 Answers  


What is backbone.js? How does it help developers?

1 Answers  


How can you attach listeners to events in a view?

1 Answers  


Categories