All jQuery Methods

How to Zoom image on mouseover using jQuery

I had already posted about Zoom an image using jQuery but that is on click event of the button. One of my reader asked me how to zoom an image with out a click, simply when mouse is on image. This is not a tough task to do. jQuery provides 2 events mouseover() and mouseout() […]
Read the rest of this entry »

Difference between jQuery text() and html() functions

jQuery provides 2 functions text() and html() and when to use text() function and when to use html() function is quite confusing as both the functions are different and serve different purpose. .html() - This jQuery function gets/sets the HTML of any element. .text()- This jQuery function gets/sets the text (innertext) of any element. Let's […]
Read the rest of this entry »

fadeToggle method in jQuery 1.4.4

jQuery team has released jQuery 1.4.4 Release Candidate 2. The purpose of candidate release to ensure that before they officially release it, it get tested with the developer community. With jQuery 1.4.4 a new animation method is added called "fadeToggle". jQuery already have fadeIn(), fadeOut() and fadeTo() method. fadeIn() - This method makes element visible […]
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 »

How to scroll to the bottom of a textarea using jQuery

Today I came across a situation where in textarea control, text was appended from code behind (.NET code) on button click. But the actual concern was that appended text is not visible to the end user as textbox area shows text from the top. So I looked into jQuery to find solution of it and […]
Read the rest of this entry »

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 »