jQuery article by Mitya on SmashingMagazine.com
jQuery article by Mitya on SmashingMagazine.com
The popular dev and design site SmashingMagazine.com has published the first in a series of articles I'll be writing for them, this one entitled Commonly Confused Bits of jQuery.
It looks at 8 situations, involving commonly-used jQuery methods, and highlights the differences and nuances between them (some of which are not well known) and which to use in certain situations.
So did you know that, in IE, css('width') / css('height') returns 'auto' on elements that don't have dimensions implicitly set? Or that closest() begins upwards traversal starting from the element itself, not from its parent?
Comments (2)
cms, at 25/10/'10 23:07, said:
Mitya, at 26/10/'10 10:25, said: