Check If One String Contains Another Substring in JavaScript | Code Snippet #20

3 Feb , 2014     Code Snippets 

Code Snippet #20:  The code snippet teaches us to compare and check if one string contains another substring in JavaScript. Basically we are going to perform a string comparison using JavaScript. Today, we are going to see how two string can be compared with the help of JavaScript using indexOf() method. indexOf() method returns the position of […]

Create A Beautiful Count Down Clock Using CountDown.js

31 Jan , 2014     jQuery 

Beautiful CountDownJS Clock

This inspiration tutorial teaches us how to create a beautiful count down clock using CountDown.js. This is to create a colorful ticker circles to indicate hours, minutes and seconds. Basically, we are going to develop a clock using jQuery. Today’s Plugin: CountDown.js Overview of the plugin CountDown.js: A simple JavaScript API for producing an accurate, intuitive […]

How to get the Selected Text Using jQuery? | Code Snippet #19

30 Jan , 2014     Code Snippets 

Get Selected Text Using jQuery

Code Snippet #19: jQuery code to get the selected text using jQuery. Using mouseup() and mousedown() APIs to fetch the selected text and display them on the page. Today, we are going to learn how to fetch the selected text using jQuery APIs. We will try to display the selected text in a div area […]

Quickly Create a Beautiful Drop Down Navigation With jQuery

29 Jan , 2014     jQuery 

Quick and Simple jQuery Navigation

This quick tutorial teaches us how to create a simple drop down navigation with jQuery. This menu is created quickly using little jQuery code and CSS. The menu shows us animated drop down on mouse hover. Today, we are going to learn how to quickly create a simple drop down menu with the help of […]

How to Dynamically Generate Divs Using jQuery? | Code Snippet #18

28 Jan , 2014     Code Snippets 

Code Snippet #18: jQuery code to dynamically create divs using jQuery. Today’s code snippet teaches us how to create divs dynamically using jQuery with the help of for loop. Creating contents dynamically is an interesting thing on the web and on your website. People love looking at dynamically created contents. Previously, we had seen how […]

Create Dynamic Checkbox Using Drop Down Selection With jQuery | Code Snippet #17

24 Jan , 2014     Code Snippets 

Code Snippet #16: The code we discovered today is used to create dynamic checkbox using jQuery with the help of drop down selection. Dynamically generating checkbox based on a drop down selection. In our previous code snippet, we saw how to change drop downs based on another drop down selection. Today, we are going to […]

Change Drop Down Menu Based on Another Drop Down Selection Using jQuery | Code Snippet #16

23 Jan , 2014     Code Snippets 

Code Snippet #16: The code we discovered today can change drop down menu based on another drop down selection with the help of jQuery. Changing the value of drop downs using jQuery. Drop downs are an integral part of forms. Drop downs are helpful and necessary to handle large list of data. Creating dynamic drop […]

Simple Registration Form Validation With jQuery and PHP

22 Jan , 2014     jQuery,PHP 

This tutorial teaches form validation with jQuery and PHP with the help of a jQuery form validation plugin. Pre-validation before submission of the form using jQuery. In today’s tutorial, we are going to create a simple registration form. Then apply the jQuery validation plugin to validate the form for the inputs by the user before […]

Change Background Color of Div With jQuery toggleClass | Code Snippet #15

20 Jan , 2014     Code Snippets 

Code Snippet #15: jQuery code snippet to change background color of div with jQuery toggleclass function. A simple code to toggle background color with the help of jQuery. jQuery is a powerful framework to create anything and do anything. Today, we thought of sharing the code to change the background of a div element using […]