Hallo guys,
I have a simple DOM-table at the frontend, where the Author of the entry is shown:
<table class="entries">
<tr id="Entry{$ID}">
<td>$Date.format(d.m.Y)</td>
<td>$Content</td>
<td>$Author.Name</td>
</tr>
</table>
Now I want something like this:
if($Author == $currentMember)
{
$('table.entries tr').css('background-color', 'red');
}
I really don´t know how I can do this or whether it is possible at all.
Hope somebody can help.
I hope this is the right forum for this question, otherwise please replace this post.