The template itself should define the HTML. So what you want to do is have a hidden element within the table in memberlist_search.html. For example:
	<tr id="user-search-row-tpl" style="display: none;">
		<td><a class="user-search-link user-search-name" target='_blank'></a></td>
	</tr>
Then clone that and insert the relevant data using the classes as selectors.