button click using jquery
<p>I have an asp.net button on a page without masterpage like this:</p>

<pre><code>&lt;asp:Button ID="target" runat="server" Text="Animate Me" &gt;
&lt;/asp:Button&gt;
</code></pre>

<p>and I am calling this:</p>

<pre><code>var panel = $('#&lt;%= target.ClientID %&gt;');
panel.click(function(){
  alert($(this).attr("value")); 
});
</code></pre>

<p>but no alert is shown. I even tried this:</p>

<pre><code>$('#target').click(function(){
  alert($(this).attr("value")); 
});
</code></pre>

<p>but It didnt work. </p>

<p>Please suggest me how to click the button and what is issue in above code.</p>

<p>Thanks.</p>
