[jQuery] Help for Prototype / PHP -> jQuery

[jQuery] Help for Prototype / PHP -> jQuery


Hello! I am translating Prototype/Scriptaculous code to jQuery. The
Prototype code is partly implemented in PHP functions. Can anybody
give me a hint how to translate the "onclick" (example attached) into
an according jQuery command which I can place into the head section?
THANK YOU!
<td class="subject"><a href="#" onclick="Element.toggle(\''.
$row['id'].'\');
document.getElementById(\''."replies_".$row['id'].'\').innerHTML =
\'\';
document.getElementById(\'reply_form_'.$row['id'].'\').style=
\'display:none\';return false;">
'.$row['subject'].'</a></td>