All jQuery Array

jQuery to remove duplicate items from array

Find jQuery code to remove duplicate items from an array using $.unique(). Earlier I had posted about jQuery solution to remove item from array, split an array, combine/join arrays and Find index of element in array, And In this post, find how to remove duplicate items from array with example. $(document).ready(function () { var arr […]
Read the rest of this entry »

Playing with Array in jQuery

In last couple of days, I was playing with array in jQuery and I have already posted some articles related to arrays on my blog. But in this post, I have put together list of jQuery articles which are associated with various Array operations. So that you can bookmark/remember this single post and yet you […]
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 »

Difference between sorting string array and numerical array in jQuery

To sort any array, there is a predefined method called "sort" which sorts the array. sort() method sorts the string array in alphabetical order. This method sorts on the basis of the Unicode code points, so it is better to have all uniform names. That is, they must begin with either uppercase or lowercase, but […]
Read the rest of this entry »