Author Archive

Create, Read and Delete Cookies with JavaScript

In this tutorial, I am going to give a JavaScript code samples to create, read and delete the cookies. Setting a Cookie function SetCookie(name,value,days) { var now= new Date(); var expDate = new Date(); if (days==null || days==0) days=1; //create date after no of "days" from now expDate.setTime(now.getTime() + 3600000*24*days); //create cookie with name, value

jQuery Form Validation Plugins

As a developer, you have to validate the user input data for making sure on the client-side that form values are just as expected. Instead of writing validations manually, validation plugins allows you to design validation methods in a simple manner. Here, I’m going to share the jQuery plugins for your form validations such as

Windows 8 Video Demonstration

Microsoft has demonstrated “Windows 8” features for the first time. A Windows 8-based PC is really a new kind of device, one that scales from touch-only small screens through to large screens, with or without a keyboard and mouse. Check out the video for first look at the new Windows 8 user interface. Here is

Google Account 2-Step Verification for Extra Security

Google introduced 2 step verification to add extra security to your Google accounts. Protects your account from being hijacked or compromised. Here is the YouTube video explaining the feature: Learn more about this here

How To Get Url Parameters Using Javascript

Here, I am going to share Javascript code to get the URL querystring parameter values. Let me take a sample URL and try to get the parameter values in it. [crayon-5d2f16024f5fc964119323/] Here is the function to create the Javascript object with parameter names and values. [crayon-5d2f16024f603405574283/] In the above code, “” is to get the

YouTube Trends Dashboard

With the YouTube Trends Dashboard, you can view the recently most viewed and most shared videos. They have given an option to browse by country, region, age and gender. You can switch between Most Viewed and Most Shared videos by clicking on the respective links on the dashboard. Most viewed videos are the videos which

jQuery Template Plugin

jQuery template plugin allows you to render template items into HTML DOM, template items are HTML markup or text. Basically, we can define HTML markup with template variables and replace these variables inside the DOM when you get the data from an Ajax call or local static data. Here is the simple example to display

Useful Gmail Labs for Better User Experience

Gmail Labs are useful features to enhance the user experience. You can see list of labs by going to your settings within your Gmail and clicking on “Labs” tab. Here is the list of useful labs of my choice: Undo Send This lab feature allows you to undo the sent email up to 30 seconds

Highlight text with jQuery

Here I am going to show how to highlight particular word within a block of text. You can use this feature to: – highlight the search terms on the page. – highlight particular keywords dynamically on the page. – highlight negative numeric values on block of page. Below is the working example, enter the text


WYSIWYG(What You See Is What You Get) Editor allows users to enter rich HTML text on the fly in the browser. These controls are very useful for the sites which allow users to publish the content. Here I am going to share JQuery WYSISYG editor, i.e. “NicEdit” and other interesting editors. NicEdit is a Lightweight,