Here’s a cool jQuery snippet that you can use to create a click counter. The way it works is that each time an element is clicked, the counter (which starts at 0) goes up by one. The counter can be applied to the clicking of any particular elements or multiple elements, and you can choose whether …
JavaScript
Enabling / Disabling Form Elements using JavaScript
The Enabling/Disabling element takes two values that is true or false, if we set to true then we can enable the element that means the user can edit the elements which user wants to do in the form or text box or else if it is set to be false then the element is disable …
JavaScript Validation
JavaScript can be used to validate data in the HTML documents before sending the content to the server. Validation occur at server side when client had entered data successfully and pressed submit button. We can use validation for some fields such as: to check whether required field is empty ? to check whether user has …
Introduction to Backbone.js
The Backbone.js is a JavaScript library using which you can make various web applications. In this article I’ll give an introduction to it and explain to develop an application using Backbone.js. When developing a web application you will inevitably work with the javascript language to handle DOM manipulation or some other needs. There are many JavaScript …
Introduction to JavaScript
This article aims to give an introduction to simple and not extremely formal scripting language which have been established as one of the foundations of the entire web application. You’ve probably heard this name, but have no idea what it is or you may have used it but have no basic idea about this. Then this …
Working with DOM in Javascript
In this article we will study about DOM, what are its characteristics and properties and in addition, we will see practical examples of how to use the DOM in JavaScript. The Document Object Model or simply DOM is used by web browser to represent your Web page . When this pattern is altered by the use of Javascript it also …
Photo Viewer using JavaScript
HTML has a separate element for image display. This will display the image in a specific region of the page. If we want to add multiple pictures and view it one at a time, then HTML does not have any such tag. We need to build our own design for that. This is a JavaScript …
Top 10 JavaScript Tips for your site
Introduction A good looking site is always more preferable than a bland looking site with a boring layout. To jazz up any site, a developer uses JavaScript. It is a popular programming language that used in creating a website with interactive content & elements. The script is browser based and runs independently from page to …