help with jquery table sorter
<p>I am trying to get <a href="http://tablesorter.com/docs/" rel="nofollow">tablesorter</a> jQuery plugin to work, but haven't been successful. Can anyone tell me what's wrong? </p>

<p>I am receiving the "jquery loaded" alert box and triple checked the path to the tablesorter javascript file.</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"  /&gt;
    &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="jquery.tablesorter.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
        $(document).ready(function() {
            if (jQuery) {
                alert("jquery loadedd");
            }
            $("#foobar").tablesorter();
        }
    );
    &lt;/script&gt;
    &lt;title&gt;Title&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;table id="foobar" class="tablesorter"&gt;
    &lt;thead&gt;
        &lt;tr&gt;
            &lt;th&gt;Name&lt;/th&gt;
            &lt;th&gt;Age&lt;/th&gt;
        &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;Nuno&lt;/td&gt;
            &lt;td&gt;20&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
