KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Background I have been using Backbone.js for some time and one aspect of it that impresses me is how it allows me to simplify, abstract and reuse DOM elements as 'views' . I have tried to read through some of the annotated source and am familiar with JQuery, but have little knowledge of how the DOM works on a deeper level. Question How does Backbone.JS tie DOM elements to views without assigning an id, class or other attribute to them? i.e. <ul> <li>Item one</li> <li>Item two</li> <li>Item three</li> </ul> I love that Backbone does this and would like to know how it does it!
Tags (comma-separated)
Save Edits
Cancel