Backbone.js: MVC framework for Javascript – Views

In the previous post, we saw Routers of Backbone. Views as name suggests give views to your page, form whatever. In a single page application, each page has a view and they in result have multiple form views eg- one for login, one for home, one for landing page. How it is done? As we… Continue reading Backbone.js: MVC framework for Javascript – Views

Creating HTML elements dynamically

There are times when we want to create HTML elements on the page, result of a certain action. Below is explained how to do that using Javascript. I have written a javascript which you can download. Please read “README” before using it. Required: Javascript, HTML. Using: The javascript code for this is: HTML code for this is:… Continue reading Creating HTML elements dynamically