jQuery Cookie (Set, Get and Delete)

Cookies are the most important thing or technology for storing data on the client side environment. jQuery Cookie is a simple, lightweight plugin for writing, reading and deleting cookies from client side. At first you need to download jquery.cookie plugin and simply need to add it in your pages. <head> <script src=”js/jquery.js”></script> <script src=”js/jquery.cookie.js”></script> </head> […]

WWW or non-WWW version?

Any website can be accessed either WWW or non-WWW version. It can be harmful for search engine ranking. Google and other search engines can see two separate versions with the same content. Basically “www” is the sub domain which can target to another content. Any search engines based on how many incoming links are pointing […]

How to associate functions with objects using JavaScript?

In JavaScript you can associate functions with objects. Here we will demonstrate how the constructor creates the object and assigns properties. Object is a standalone entity, with properties and type in JavaScript. JavaScript objects can have properties, that define their characteristics. Objects and properties: An object in JavaScript has properties associated with this. So, a […]