$(".is_preferred_email").each(function() {
$(this).attr("checked","checked");
});

On Oct 6, 8:14 pm, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > 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.
>
> Looking at your markup, it seems like it should return three elements.
> I don't see a problem there.
>
> I *do* see a problem with, or at least I'm confused by, the markup.
> There is a check box and a hidden element with the same name. Why do
> you need the hidden element?

Reply via email to