Is better: <a href="/test" onclick="T.actions.addFriend(profileId)">add friend</a> or ...?
<p>Is better: <code>&lt;a href="/test" onclick="T.actions.addFriend(profileId)"&gt;add friend&lt;/a&gt;</code> </p>

<p>or </p>

<pre><code>&lt;a href="/test" class="add-friend-button"&gt;add friend&lt;/a&gt;
</code></pre>

<p>and then with the Javascript select the "add-friend-button" class and add a click event?</p>
