> var h = 0
> $(".item").each(function() { if (this.offsetHeight > h) h =
> this.offsetHeight })
Ah yes ... any $() operation returns a jquery object, and not a DOM,
but once you iterate through it with each or attach events or
anything that gets a _this_ reference, that _this_ is instead a
normal DOM reference, meaning you'll have to $(this) in order to get
a jquery object from it?
thanks for the other two suggestions in the thread, I find myself
liking jquery quite a lot actually :)
Andreas
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/