jQuery not loading in sharepoint 2010 asp.net page
<p>I am making an visual webpart in Sharepoint 2010, and I am trying to load my jquery files in the ascx page.</p>

<p>Near the top of the page I have this:</p>

<pre><code>&lt;SharePoint:CssRegistration ID="jquery_css" name="/_layouts/PDF Library/blitzer/jquery-ui-1.10.3.custom.min.css" runat="server" EnableCssTheming="true" after="true" /&gt;
&lt;SharePoint:ScriptLink ID="jquery_js" name="/_layouts/PDF Library/jquery-2.0.0.min.js" runat="server" OnDemand="False" Localizable="False" /&gt;
&lt;SharePoint:ScriptLink ID="jquery_ui_js" name="/_layouts/PDF Library/jquery-ui-1.10.3.custom.min.js" runat="server" OnDemand="False" Localizable="False" /&gt;
</code></pre>

<p>And near the middle of the page I have this:</p>

<pre><code>            &lt;asp:Panel id="help_panel" runat="server"&gt;
                Click &lt;a href="#" onclick="$(this).next().slideDown();" title="Click to show details"&gt;here&lt;/a&gt;.
                &lt;div style="display:none"&gt;
                    &lt;ol&gt;
                        &lt;li&gt;1&lt;/li&gt;
                        &lt;li&gt;2&lt;/li&gt;
                        &lt;li&gt;3&lt;/li&gt;
                        &lt;a href="#" onclick="$(this).parent().parent().hide();" title="Click to hide details"&gt;Hide Details&lt;/a&gt;
                    &lt;/ol&gt;
                &lt;/div&gt;
                &lt;br/&gt;
            &lt;/asp:Panel&gt;
</code></pre>

<p>When the asp.net page loads in IE9, and when I click the link to display the div tag, it does not work, the error message was <code>The value of the property '$' is null or undefined, not a Function object</code>.</p>

<p>However if I check the developer tools, I see that the jquery and css files are there. Yet the link doesn't work. Maybe the files are being loaded after the link gets processed?</p>

<p>Does anyone know how to fix this?</p>

<p>It works in Firefox 21 beta, but I want it to work in IE9.</p>

<p>Thanks.</p>
