jQuery syntax for changing the value of a table cell
- by cf_PhillipSenn
I have a table where every row has a unique id.
The last table cell has class="status" where I want to show the user the result of their action.
In my $.ajax call, I have:
,success: function(result){
$('tr#'+result).td('.status').text('Updated');
};
result is the id of the row that was updated.
It's just throwing an error message that says $( and that's all.