I just watched this screencast from jqueryforedesigners.com and it had so many little nuggets that I wanted to share it with you. For instance, I did not realize that if you were trying to get the margin (or padding or anything that is a number) of an element, and it returns a string like “20px”, you can strip the “px” by using .parseFloat(). Wow where has this been all my life. Hope you find this helpful as well.

(more…)