Focus DIV out of a DIV array
<p>I am trying to add a to create an array of text boxes and every-time one is created is supposed to be focused.  This is my not working code. any help would be much appreciated. thanks. </p>

<pre><code>var emails = new Array();       
var count = 0;  

//function to add more extra emails     
$('#additional_emails').focus(function() {

   emails[count] = '&lt;input type="text" size="30" id="email_list'+ count + '" value    ="'+count+'" /&gt;&lt;br&gt;';

   $('#here_emails').append( $(emails[count]).focus() );

   count++;
});
</code></pre>
