How to tell Jquery about Appended form row
<p>Hi I've got a form that can have a row of items added via ajax.  But when this row is added, the new inputs can't receive focus.</p>

<p>In trying to work this out, i discovered they do receive focus if an alert is triggered during the bind function.</p>

<p>I have looked around for answers, but i just can't get it to work.  I think "live" function might be related but i don't really get how to use it.  </p>

<p>here is my code. </p>

<pre><code>$("#doogal").bind("click", function (event) {
    $.ajax({data:$("#doogal").closest("form").serialize(), dataType:"html", success:function (data, textStatus) {$("#saleitems").append(data);}, type:"get", url:"\/saleitems\/add\/" + $rows});
    $rows = $rows + 1;
//  alert("uncomment this to enable focus");
    $("#autoComplete_1").focus();       
    return false;   

});
</code></pre>

<p>Thanks!</p>
