On 12/18/06, Mike Alsup <[EMAIL PROTECTED]> wrote: > > shouldn't be called. You could write it like this: > > > > $('.oneClass').each(function() { moveCodeToImg(this); }); > > I was thinking of this: > > $('.oneClass').each(moveCodeToImg);
Indeed, it would be cleaner ... just make sure the moveCodeToImg is prepared for the scope change and the passed param to be in index. -- Brandon Aaron _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/