[jQuery] accesing new input values
Hello everybody,
i´m developing this code to add new input elements to a given form:
var contador=0;
$("#botonFormulario").click(function(){
$("#nuevoCampo").after('valor: <input id="'+contador+'"
type="text">
valor: <input type="text">
');
contador++;
});
the question is, how can i access to everyone of the new elements
added via javascript or any other way?
Thanks in advance