[jQuery] Re: Form question
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
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( $('