I have a large number of views (more than 50) which all extend from a single abstract base view, and therefore have a similar layout and many other features in common (event handlers, some custom methods and properties, etc).   I am presently using t...
I have this code that when icon-edit span is clicked, it fires an action that opens a modal, however, at the same time, the click propagates to the view below it (personView). I want the action to execute and stop the propagation.  The only solution...
I want to use this fantastic Javascript Library on my little web project.  http://prettydiff.com/  I've downloaded PrettyDiff.js and ViewDiff.js  I've been researching on how to use it and I can't seem to find any examples on how to get t...
I have a collection that has a date field and I want to create a mongo view that filter all the documents by the current date. For example, I want my view to contain all the documents of the last 7 days.   I have a javascript script that creates the...
I have a case that uses view inheritance, and my code looks essentially like:  parentView = Backbone.View.extend({     events: {         "some event": "business"     },     initialize: function(){         _.bindAll(this);     },     b...
The site I am working on www.salonbkb.com when in a mobile browser will act responsive but will allow the user to use touch to move the site from left to right creating a whitespace on the remaining space after the drag.    Foundation.zurb.com does n...
I would like to check if a Backbone.View is currently rendered in the DOM if not I don't have to rerender it. Can I check this somehow?  Regards...
I have problem with this:  var id=5; var el = $("MainPhotoHolder"); el.attr("src", '@Url.Content("~/Page/GetImage/" + id)');   id is a local javascript variable, but it gives me an error saying that is not in the conte...
I am currently rendering a list of views:    <ul>     {{#each newsItem in controller}}       {{view App.NewsItemView contentBinding="newsItem" class="news-item" }}     {{/each}}   </ul>   But I would like to inject a NewsI...
i have an ember view with a bunch of jquery code to manipulate the dom, the thing is when i use:  this.transitionTo("forecast.workpage", id);   it only loads the view once but when i try click it again the view doesn't execute again, i tr...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.