A question about render

I faced a problem about render. This is my view page:

<%= render :partial=>'test1'%>

In _test1.html.erb:

<td><%=select_tag 'database_select',


<%=text_field_tag 'table', @table_name,:size=>30%>

You can see that in the partial page, I use

and element to
make a new row in the current table. When rendering this page, the
second row which id is ‘test2’ never update. How can I render the second
row in this case?

Can anyone help me on this?