Top "Backbone-views" questions

Views in the Backbone.

Backbone.View "el" confusion

How should a view's el be handled? It has to be set, otherwise events don't fire (see here). But should …

javascript backbone.js backbone-views
attaching backbone.js views to existing elements vs. inserting el into the DOM

I am implementing my first actual non-tutorial Backbone app, and have 2-ish questions about an aspect of using using backbone.…

javascript backbone.js backbone-views
What is the difference between $el and el in Backbone.js views?

Can you please tell the difference between $el and el in Backbone.js views?

javascript backbone.js backbone-views
Button Onclick event and backbone.js view

I current have an html file with the following: <div class="button1"> <button class="first" id="up" …

javascript backbone.js backbone-views backbone-events
Backbone JS: can one view trigger updates in other views?

In my simple project I have 2 views - a line item view (Brand) and App. I have attached function that …

javascript backbone.js backbone-events backbone-views
Backbone collection fetches data, but doesn't set models

I'm trying to populate my Backbone collection from a local API and change the view to show the data. The …

javascript json backbone.js backbone-views
How do I get backbone to bind the submit event to a form?

I'm using the following code to create the view: LoginForm = Backbone.View.extend({ tagName :"form" ,id : "login-form" ,className :"navbar-form" ,initialize: …

backbone.js backbone-views backbone-events
Binding multiple event types in backbone views

I was wondering if it is possible to bind multiple event types in backbone within a single line. Consider the …

javascript backbone.js backbone-events backbone-views
Marionette bubble event from itemview to parent layoutview?

I have a layout view with a region, in that region I have a item view that triggers an event …

backbone.js marionette backbone-views
Backbone.js: Fetch a collection of models and render them

I am learning JavaScript MVC application development using Backbone.js, and having issues rendering model collection in the view. Here's …

javascript json backbone.js backbone-views