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...


Explain what is view in backbone.js?



Explain what is view in backbone.js?..

Answer / Manju Hembrom

To set attributes for a Backbone.js model, first create a new instance of the model and then call the set method with the attribute name as the first argument and the value as the second: var myModel = new MyModel(); myModel.set('name', 'John');

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 use template variables?

1 Answers  


How backbone decides if it should use post/get/ request to the server? What are the methods backbone has reserved for these operations?

1 Answers  


What is collection in backbone?

1 Answers  


What are the difference between backbone.noconflict and backbone.$ ?

1 Answers  


When you require backbone.js?

1 Answers  


Explain what is view in backbone.js?

1 Answers  


How does backbone.js relate to mvc?

1 Answers  


What is the function of escape ?

1 Answers  


List out configuration options available in backbone js?

1 Answers  


Can you have default values for model? If yes, how?

1 Answers  


What are the configuration options available in backbone.js?

1 Answers  


Categories