All jQuery Array

How to find index of element in array using jQuery

Today, for my project requirement, I need to find out index of any element in jQuery. I found the solution. jQuery provides a method called "inArray" which search for the specified value in the array and returns the index of the element. Earlier I had posted about jQuery solution to remove item from array, split […]
Read the rest of this entry »

Check variable is Array using jQuery

Today for one of my functionality, I need to check whether the Java script variable is an array or not. jQuery provides a method "jQuery.isArray()" to check whether the element is Java script array or not. jQuery.isArray() returns a boolean value that indicates whether the object is a JavaScript array or not. It takes the […]
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 »

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 »

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 »

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 »

Responsive Menu
Add more content here...