html - jQuery and Form Object Array -
this form input objects same names , unknown number of clones/duplicates such one:
<input name="field[]" id="field[]" value="">
using jquery, dynamically add copies of object theoretically makes this:
<input name="field[]" id="field[]" value=""> <input name="field[]" id="field[]" value=""> <input name="field[]" id="field[]" value=""> <input name="field[]" id="field[]" value="">
... , 1 , forth.
question: show me reference such objects, example, on-change procedure.
thanks in advanced.
it not valid have multiple elements same id.
you can n-th input using:
$('input').eq(n)
Comments
Post a Comment