jQuery each on appended elements
<p>I'm using autocomplete plugin in jQuery and I've created a method which appens elements selected in autocomplete result.</p>

<pre><code>$("#buscar").autocomplete({
source: "procesos/buscarPersona.php",
minLength: 2,
select: function(event, ui ){
    var name = ui.item.value;
    var id = ui.item.id_persona;
    $("#acreditados tbody").append('&lt;tr id='+id+'&gt;&lt;td&gt;'+name+'&lt;td&gt;&lt;td&gt;Monto: $&lt;input name="monto_'+id+'" type="text" /&gt;&lt;img id="delete_'+id+'" src="img/ico-delete.gif" /&gt;&lt;/td&gt;&lt;/tr&gt;');
}
});
</code></pre>

<p>As you can see my code appends input elements to my page. Then in other method I want to do operations with values in previously added inputs.</p>

<pre><code>$("#tablaAm").click(function(){
    var montoTotal = 0;
    $("input[name^='monto_']").each(function(index){
        alert(index + ': ' + $(this).val());
    });
    });
</code></pre>

<p>The problem is that .each() isn't working for this new elements. I tried .each() for inputs that exists when the page is loaded and I have no problem with it, the problem are elements appended after load.</p>

<p>How can I make this work? I tried live() method but I think .each is not an event.</p>
