after vs append

after vs append

I am dynamically adding table rows and in each row i have one text box with an auto complete

if I use 

  1. $('#bill_tbody tr:last').after(table_data);

the row is positioned last but the autocomplete doesnt work

if i use

  1. $('#bill_tbody tr:last').append(table_data);

the row is posistioned to the right of the last row and the auto complete works???

any ideas??