[jQuery] Re: $().each() only iterates through first item

2008-10-06 Thread sydneyos
Thanks for your input. Here is the relevant HTML (dynamically generated) On Oct 5, 7:22 pm, MorningZ <[EMAIL PROTECTED]> wrote: > There is absolutely no way you have the selector setup correctly > > what is the HTML? > > On Oct 5, 8:53 pm, sydneyos <[EMAIL PR

[jQuery] Re: $().each() only iterates through first item

2008-10-06 Thread sydneyos
Dave, Actually, I tried both of those things first - should have mentioned that. It was only after I got three elements doing alert($j(".is_preferred_email")) that I switched to using the index. On Oct 5, 7:53 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > >         $j(".is_preferred_email").eac

[jQuery] $().each() only iterates through first item

2008-10-05 Thread sydneyos
I have the following expression where is_preferred_email is a class assigned to three elements in my page: $j(".is_preferred_email").each( function(i) { this[i].checked = false; } ); if I put "alert(this[i].name);" in the function, I only e