Backbone.js view.attributes()The Backbone.js attributes method specifies a hash of attributes that contains HTML DOM element attributes on the view's el (id, class, data-properties, etc.), or a function that returns such a hash. Syntax: Let's take an example. See this example: Test it NowOutput: Save the above code in attributes.html file and open this file in a new browser. Next TopicBackbone.js $(jQuery) method |