Asp.Net Button postback keeps firing
<p>For some reason the postback event keeps firing for my button. If I place a break point on the function(e) part with Firebug, the code just skips right over the function.
Return false does not work either.</p>

<pre><code>&lt;script&gt;
$(document).ready
(
$('#&lt;%:FilterButton.ClientID %&gt;').click 
  (
    function (e)
    {
      e.preventDefault();
      $('#Filter').toggle();
    }
   )
 );
&lt;/script&gt; 
</code></pre>

<p><strong>Edit:</strong>
Kundan and others have pointed out that I skipped passing in an anonymous function  for the document.ready() event. Careless on my part.</p>
