Django Firefox debugging
<p>I know its kind of question that you see often but I don't see a correct.</p>

<p>I have written a Django code and testing it with Firebug..I mean im trying to play with the ids created but for some reason..</p>

<p>I have this id-nav in my .html file..but this code is always giving error,</p>

<p>$('nav').hide()</p>

<p>Error:</p>

<p>TypeError: $("nav").hide is not a function</p>

<p>HTML Code:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;
        Django Bookmarks | {% block title %} {% endblock %}
    &lt;/title&gt;
    &lt;link rel=stylesheet" href="/site_media/style.css"
        type="text/css" /&gt;

    &lt;script type="text/javascript"
        src="/site_media/jquery.js"&gt;&lt;/script&gt;
        {% block external %} {% endblock %}
&lt;/head&gt;
&lt;body&gt;
    &lt;div id="nav"&gt;
    &lt;a href ="/"&gt;home&lt;/a&gt; |
    {% if user.is_authenticated %}
        &lt;a href="/save/"&gt;submit&lt;/a&gt; |
        &lt;a href="/user/{{ user.username }}/"&gt;
            {{ user.username }}&lt;/a&gt; |
        (&lt;a href="/logout"&gt;logout&lt;/a&gt;)
    {% else %}
        &lt;a href="/login/"&gt;login&lt;/a&gt;
        &lt;a href="/register/"&gt;register&lt;/a&gt;
    {% endif %}
    &lt;/div&gt;
    &lt;h1&gt;{% block head %}{% endblock %}&lt;/h1&gt;
    {% block content %}{% endblock %}

&lt;/body&gt;
&lt;/html&gt;
</code></pre>
