If you have multiple inputs with the same name be sure to add square
brackets to the name so that the browser sends an array of values.

single:
<input type="text" name="foo" />

multiple:
<input type="text" name="foo[]" />
<input type="text" name="foo[]" />

Also, fyi (and most likely unrelated), when copying DOM elements, make
sure that you don't end up with multiple elements with the same ID (as
opposed to name).

On Tue, Jan 12, 2010 at 2:49 AM, Eric Cope <eric.c...@gmail.com> wrote:
> Hello all,
> I am using jquery to copy a DIV containing some form elements. The
> copy is appended to the DIV in another DIV to allow an unlimited
> number of form elements to be sent. The problem is that none of the
> copy DIVs are being sent by the browser (Firefox). There is some
> chatter via google, but nothing conclusive. I see the DIVs show up in
> Firebug. Could this be jquery related?
> Thanks in advance!
>
> Eric
>

Reply via email to