Scrolling to the top without href...?
<p>Here's what I started out with, </p>

<pre><code>   $("a[href='#top']").click(function() {
      $("html, body").animate({ scrollTop: 0 }, "slow");
   return false;
    });
</code></pre>

<p>Which works great with </p>

<pre><code>&lt;a href="#top"&gt;...&lt;/a&gt;
</code></pre>

<p>However, I need something similar that works without a link, something like...</p>

<pre><code>&lt;li id="top"&gt;....&lt;/li&gt;
</code></pre>

<p>I tried this</p>

<pre><code>  $("#top").click(function() {
          $("html, body").animate({ scrollTop: 0 }, "slow");
          return false;
        });
</code></pre>

<p>But it doesn't work on my end. </p>
