Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
6 votes
1 answer
2k views

Backbone.js dynamic table

I have been trying to learn backbone.js and I thought the best way to learn it is by writing a dynamic table (i.e. add, edit and delete rows of data). I am very familiar with Node.js (back-end). Any ...
Node.JS's user avatar
  • 429
3 votes
5 answers
278 views

Selectable date filters

I created a simple app with Backbone and Marionette. In a view I created an onRender function. I created a page that displays a Report with a date filter, using a select tag and affect to an input ...
Engkus Kusnadi's user avatar
2 votes
1 answer
268 views

Shipping calculator consisting of one field

A made a shipping calculator, which consists of one field that is validated. jsFiddle HTML: ...
cyklop77's user avatar
  • 311
2 votes
1 answer
73 views

Rendering comments in a Backbone view

I want to make show/hide logic more maintainable in my codebase. Because they are too faraway located in separate js files, it hard for people to maintain. The flow in my codebase is: require.js ...
poc's user avatar
  • 605
1 vote
1 answer
841 views

Managing collection views, adding/removing views, and listening for events

I have two collections - Movies and Watchlist. Both of these have Views that output ...
styler's user avatar
  • 233
4 votes
0 answers
93 views

Backbone learning piece, Movie Application using Views, Collection, Models, Routes and Localstorage

I have created a Backbone Movie app as part of a learning exercise, the app is hosted on codepen although I actually have it built on my local but thought this approach would be handier for code ...
styler's user avatar
  • 233
1 vote
1 answer
171 views

Menu visibility toggle method

I've just created a method that toggles menu visibility. At the moment I've gone with an if..else which checks my flag and acts ...
styler's user avatar
  • 233
1 vote
1 answer
2k views

Backbone/Marionette form with list of inputs

Using Backbone/Marionette, I'm building a simple widget that looks like: I'm hoping to get some feedback on my approach because I think I may be doing it wrong. jsfiddle ...
jbarreiros's user avatar
6 votes
1 answer
1k views

Simple JavaScript Backbone.Js tool to highlight multiple search terms

I wrote a simple JavaScript tool to highlight multiple keywords at the same time in some text. It uses different color for each keyword, and also shows the count of matches. I'm using Backbone.js ...
janos's user avatar
  • 113k
3 votes
1 answer
2k views

Clicking child view and preventing parent view from running dblclick event

I have a parent view which has a dblclick event handler bound to it. I also have a view which is a descendant of the parent. This child view has a click event handler bound to it. Currently, my code ...
Sean Anderson's user avatar
8 votes
1 answer
292 views

Interactive API documentation page of a RESTful dictionary API using Backbone.js

I'm working on the interactive API documentation of a RESTful dictionary service. The page should let testers try the different API calls, by playing with the parameters using a simple web form. ...
janos's user avatar
  • 113k
3 votes
1 answer
1k views

Validating a model and focus to the element if validation fails

I am using Backbone Marionette - I would like to set the user name and password if that passes the model validation method. I am highly confused with that. Please show me a handy approach or correct ...
3gwebtrain's user avatar
7 votes
1 answer
258 views

MV* Pattern for a board game

I have made a small game in Javascript, while simultaneously learn about the ever so popular model view controller. The game is this, there are 3 players(green, purple, yellow) and they have to try ...
EasilyBaffled's user avatar
2 votes
1 answer
87 views

Proper techniques for allowing many views to subscribe to window.unload?

I would like to execute code for many views whenever the window is unloaded. For instance, I could have something like this in a view's initialize: ...
Sean Anderson's user avatar
5 votes
2 answers
17k views

Simple registration form with Backbone

I am trying to create simple registration form with Backbone. I need to validate fields on blur, and whole form on submit. HTML: ...
rndm's user avatar
  • 161

15 30 50 per page