Imagine the following situation. I have a sidebar positioned absolutely and then some more stuff positioned absolutely within that sidebar. In that sidebar I have a button, which shows a menu, the template looks like this:  <button>Click me<...
I have a view called gallery that options. I want to listen and act on keydown events when the gallery is rendered (until it's closed).  How do I do this in backbone events? I've tried all variations of 'keydown X':function and none h...
Does anyone know of a MVC framework in JavaScript that is free of other library dependencies? I'm thinking along the lines of backbone.s or spine.js both of which CLAIM to have no dependancies but then their code clearly uses jQuery or Zepto func...
I'm using window.history in JavascriptMVC application to enable back/forward/refresh functionality for each controller. Every time I load a new controller I'm using  window.history.pushState to add a new state to history. And then on back/ref...
When a developing a web app, versus a web site, what reasons are there to use multiple HTML pages, rather than using one html page and doing everything through Javascript?  I would expect that it depends on the application -- maybe -- but would appre...
I'm just starting to mess with angular js and I'm trying to load the data through a post action.  I'm using angularjs v.1.0.2  Here is my code: HTML:  <!DOCTYPE html> <html ng-app>     <head>         <meta charset=...
A few of my views need their textareas converted to rich text editors.  I'm using jwysiwyg as the editor. It requires that the element it is being attached to is in the page when the editor is initialized i.e. when I call $(this.el).wysiwyg(), th...
I'm trying to set up routing in Backbone 0.9.10. I'd like to match routes of the following kind:  /england/ /england/birmingham /france /france/paris ...    etc. This is what I have in my router at the moment:   var AppRouter = Backbone.Route...
Problem  At my workplace, we're trying to find the best way to create automated-tests for an almost wholly javascript-driven intranet application. Right now we're stuck trying to find a good tradeoff between:   Application code in reusable an...
USECASE: I am starting with a project which involves a lot of client side scripting. It is similar to a mini CMS where user can drag and drop html components. Somewhat similar to  this. Now I am in a situation where I have to choose a MVC framework f...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.