How to select input from array of inputs like articles[]?

How to select input from array of inputs like articles[]?

Hello all,

I am creating table with input fields. I dynamically add new rows to the table with the following code
  1. jQuery(\"input[name='add_new_row']\").live('click', function(event) {
  2.      var row = jQuery('#mm_list >tbody >tr').length+1;
  3.      jQuery(\"#mm_list > tbody\").append(\"<tr><td>\"+row+\"</td><td><input type='text' name='articles[]' style='width:98%'/></td></tr>\");
  4. });
now I would like also to add autocompleter on newly created input. I do not know how to select newly created input with jQuery. I know how to do that with javascript
  1. document.getElementsByName('id_articles[]')[row];
So I would like to be able to do the same with jQuery so I can add autocompleter on newly added input field articles[].

I add autocompleter to all fields at the begging with the following code:
  1. jQuery(\"input[name='articles\\[\\]']\").autocomplete(...);

Thank you in advance!