All jQuery Tips

Check if Checkbox is checked using jQuery

Yesterday I needed to find out if checkbox is checked or not using jQuery. I was knowing one way to find out but there are couple of other ways as well to find out if checkbox is checked using jQuery. In this post, you will find all different possible ways. You may also like: Check […]

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')) […]

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 […]

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 […]

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 […]

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 […]

Responsive Menu
Add more content here...