Libraries with helpers and plugins to use with backbone.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md

README.md

backbone.utils

Libraries with helpers and plugins to use with backbone.js

backbone-cascade.js

Library to link multiple select box

this.collectionLigas = new Backbone.Cascade.Collection.Select({
    urlRoot: '...'
});
this.collectionDivisiones = new Backbone.Cascade.Collection.Select({
    urlRoot: '...'
});
this.collectionGrupos = new Backbone.Cascade.Collection.Select({
    urlRoot: '...'
});
this.selectLigas = new Backbone.Cascade.View.Select({
    el: $('select[name="liga"]'),
    collection: this.collectionLigas
});
this.selectDivision = new Backbone.Cascade.View.Select({
    el: $('select[name="division"]'),
    collection: this.collectionDivisiones,
    parentSelectView: this.selectLigas
});
this.selectGrupo = new Backbone.Cascade.View.Select({
    el: $('select[name="grupo"]'),
    collection: this.collectionGrupos,
    parentSelectView: this.selectDivision
});
this.collectionLigas.fetch();