using javascript .preventDefault() inside an asp server control
<p>I am having an asp.net sever control as below</p>

<pre><code>&lt;asp:HyperLink Visible='&lt;%# (GetAnswer(Eval("AnsQID"))) != 1 %&gt;' ID="HyperLink1"
  runat="server" NavigateUrl="#" ToolTip='Like this answer' 
  onclick="javascript:(likeThis(this))"&gt;Like

&lt;/asp:HyperLink&gt;
</code></pre>

<p>I am handling this onclick event on the client side by passing to the function on the client side as shown. Here is the "likeThis" function on the client side</p>

<pre><code>function likeThis(e) {
           e.preventDefault(); // how do I get the event arguments as e ?


           var controlBar = ($(e).parents('div[class="group"]').children('p[id="controlBar"]'));
       }
</code></pre>

<p>I want the click event to be preventing the default behavior. So can you advise me on how to do that . Thanks</p>
