All jQuery Codes

Date validation for “MM/YYYY” using jQuery

You may done validation for "dd/mm/yyyy" format but today I need to do validation for "MM/YYYY" format. The end user will input the date in textbox and I need to validate the date. Below jQuery code validates the date using regular expression in "MM/YYYY" format only using jQuery. jQuery Code: $(document).ready(function() { $('#txtDate').blur(function() { if(validateDate('txtDate')) […]
Read the rest of this entry »

How to underline particular word using jQuery

Today, I got into a situation where I need to underline a particular word anywhere in one of my div element. One way is to find the element manually and apply the CSS. But there were many occurrences of the word. So I thought of doing with jQuery and in couple of minutes, I was […]
Read the rest of this entry »

How to combine/join arrays using jQuery

In this post, we will see that "how to join or combine arrays using jQuery". Earlier I had posted about jQuery solution to remove item from array, split an array and Find index of element in array, And In this post, find how to combine/join arrays with example. Below jQuery code joins the two arrays […]
Read the rest of this entry »

How to split an array using jQuery

In this post, we will see that "how to split an array using jQuery". Below jQuery code splits the array using jQuery. Earlier I had posted about jQuery solution to remove item from array, combine/join arrays and Find index of element in array, And In this post, find how split an array using jQuery with […]
Read the rest of this entry »

Remove Item from Array using jQuery

Today during my work, I came across a situation where I need to remove items from Array using jQuery. I did it using jQuery and thought of sharing with my you as well. Earlier I had posted about jQuery solution to Find index of element in array, split an array, combine/join arrays and remove duplicate […]
Read the rest of this entry »

Common Dropdown operation (Get, Set, Add, Remove) using jQuery

DropDown list is a very basic and common control and You might be using either ASP.NET Dropdown list or normal html dropdown list in your project. In this post, I have put together the code examples for all kind of dropdown operation. For example, to get selected value from dropdown, for to set value in […]
Read the rest of this entry »

Responsive Menu
Add more content here...