Difference between window.onload and $(document).ready()

Do you think $(document).ready() and window.onload are the same thing? Do you use one for the other? Do you use them interchangeably? If you do so, you are wrong. $(document).ready() and window.onload are not the same thing. What did you

Read More Difference between window.onload and $(document).ready()

Make Multiple Select Control Height Fit Its Contents

You can make a “multiple” select control height fit its contents using different methods. Why would you like to do that? May be you want your users to see all their options without scrolling and the sight of the scroll-bar

Read More Make Multiple Select Control Height Fit Its Contents

How to – Create Animations Using jQuery’s .animate() Method

jQuery's .animate() method can be used for creating some good looking animations on your web sites. Animations are very important when creating interactive and ajax enabled sites/applications. This is the pseudo code for .animate() method: .animate( properties [, duration] [,

Read More How to – Create Animations Using jQuery’s .animate() Method

Uncaught TypeError: undefined is not a function

This problem might have an easy solution, at least in my case it was easy. In my case the the problem was with the merging of separate external JavaScript files. If you have merged individual JavaScript files, and if you have jQuery functions defined in them

Read More Uncaught TypeError: undefined is not a function