I'm trying to update content in a selected html row with server data.
I can update the selected html row with static data, or all html rows with server data.
I cannot update the selected html row with server data.

```
$('td.table_with_server_update a').click(function(){    
  var var1=$(this).data('variable1');  

```

This updates the selected html row with static content, this is what I want to do, but with server data.

```
   $(this).parent().prev().html('static content');

   $.post("server_side_process.php",{varone: var1}, function(data){               

```

Selecting all elements in html table and updating with server data, this works, next I want to update only the "clicked" row with server data 

```
   $('td.table_with_server_update').prev().html(data); //updates all html rows      

```

This is what I think I want but don't know how to express this. 
I think my problem is $(this) inside the callback function

```
   $(this).parent().prev().html(data); // no error in firebug, but doesn't rewrite html

   });         
  });                                             
});

```

...

```
<table border="1">
  <tr>
    <td>rewrite this data  </td><td class="table_with_server_update"><a href="javascript:void(0)" data-variable1='1'>Update this row</a> </td>  
  </tr>
  <tr>
    <td>rewrite this data</td><td class="table_with_server_update"><a href="javascript:void(0)" data-variable1='2'> Update this row</a></td>  
  </tr>      

```