[jQuery] Re: Form question

2007-11-25 Thread nathandh
If anybody's interested, here's what I came up with: $('#billing input').each(function(i) { $(this).val( $('#shipping input').eq(i).val() ); }); Works like a charm.

[jQuery] Re: Form question

2007-11-25 Thread nathandh
Actually, here's the whole thing for context: $('input#same').toggle(function() { $(this).attr("checked", "checked"); $('#billing input').attr("disabled", "disabled"); $('#billing input').each(function(i) { $(this).val( $('