Simple jQuery toggle() and return false inside click()
<p>I'm mostly a djangonaut and phper, but I'm getting javascript development.</p>

<p>I've been looking at this very simple block for a feedback widget on a page. The code is pretty self-explanatory.</p>

<pre><code>&lt;a id="feedback-widget-toggle" href="[feedback_url]"&gt;Feedback&lt;/a&gt;
&lt;div id="feedback-widget"&gt;
  &lt;form method="POST" action="[form_url]"&gt;
    ...
  &lt;/form&gt;
&lt;/div&gt;

&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
    $("#feedback-widget-toggle").click(function() {
      $("#feedback-widget").toggle("slide", {}, 500);
      return false;
    });
  });
&lt;/script&gt;
</code></pre>

<p>It's really simple. So simple that I feel pretty dumb for this one.</p>

<p>The jQuery is just supposed to disable the link and slide out the feedback-widget div. That's it. I'm new to jQuery, so it's probably some very simple syntax error that I'm not sure how to debug well enough.</p>

<p>Thanks.</p>
