<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: jQuery not defined</title>
		<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-1</link>
		<description>Gravity Support Forums Topic: jQuery not defined</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:40:38 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/jquery-not-defined-1" rel="self" type="application/rss+xml" />

		<item>
			<title>uvalib on "jQuery not defined"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-1#post-50672</link>
			<pubDate>Mon, 27 Feb 2012 12:00:18 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">50672@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Solution recommended by one of my co-workers, which worked:&#60;br /&#62;
Move the JavaScript out of the functions.php file and make a script tag after the wp_head() call, just before the &#38;lt;/head&#38;gt; in the theme header.php file. This way the jQuery which is within the wp_head() output is defined before the JavaScript for something like Gform post render. This did get rid of the jQuery not defined error.&#60;/p&#62;
&#60;p&#62;This just confuses me a bit because the Gform post render documentation says to put the JS into the theme's functions.php file and the twentyten theme has comments indicating not to add script tags after the wp_head() call as it can possibly break WP.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "jQuery not defined"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-1#post-50349</link>
			<pubDate>Thu, 23 Feb 2012 14:39:42 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">50349@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Unfortunately, we are developing the new site on a server behind a firewall. So I can't provide a link that will get you to it. Does seeing this code from the head of the page help?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
// This file is included in the theme&#38;#39;s functions.php file.
jQuery(document).bind(&#38;#39;gform_post_render&#38;#39;, function(){
// code to trigger on AJAX form render
});
&#38;lt;/script&#38;gt;
&#38;lt;meta charset=&#38;quot;UTF-8&#38;quot;&#38;gt;
&#38;lt;title&#38;gt;Ask A Librarian Test &#124; University of Virginia Library&#38;lt;/title&#38;gt;
&#38;lt;link href=&#38;quot;http://gmpg.org/xfn/11&#38;quot; rel=&#38;quot;profile&#38;quot;&#38;gt;
&#38;lt;link href=&#38;quot;http://finch.lib.virginia.edu/wordpress/wp-content/themes/twentyten/style.css&#38;quot; media=&#38;quot;all&#38;quot; type=&#38;quot;text/css&#38;quot; rel=&#38;quot;stylesheet&#38;quot;&#38;gt;
&#38;lt;link href=&#38;quot;http://finch.lib.virginia.edu/wordpress/xmlrpc.php&#38;quot; rel=&#38;quot;pingback&#38;quot;&#38;gt;
&#38;lt;meta content=&#38;quot;noindex,nofollow&#38;quot; name=&#38;quot;robots&#38;quot;&#38;gt;
&#38;lt;link href=&#38;quot;http://finch.lib.virginia.edu/wordpress/feed/&#38;quot; title=&#38;quot;University of Virginia Library » Feed&#38;quot; type=&#38;quot;application/rss+xml&#38;quot; rel=&#38;quot;alternate&#38;quot;&#38;gt;
&#38;lt;link href=&#38;quot;http://finch.lib.virginia.edu/wordpress/comments/feed/&#38;quot; title=&#38;quot;University of Virginia Library » Comments Feed&#38;quot; type=&#38;quot;application/rss+xml&#38;quot; rel=&#38;quot;alternate&#38;quot;&#38;gt;
&#38;lt;link href=&#38;quot;http://finch.lib.virginia.edu/wordpress/ask-a-librarian-test/feed/&#38;quot; title=&#38;quot;University of Virginia Library » Ask A Librarian Test Comments Feed&#38;quot; type=&#38;quot;application/rss+xml&#38;quot; rel=&#38;quot;alternate&#38;quot;&#38;gt;
&#38;lt;link id=&#38;quot;admin-bar-css&#38;quot; media=&#38;quot;all&#38;quot; type=&#38;quot;text/css&#38;quot; href=&#38;quot;http://finch.lib.virginia.edu/wordpress/wp-includes/css/admin-bar.css?ver=20110325&#38;quot; rel=&#38;quot;stylesheet&#38;quot;&#38;gt;
&#38;lt;script src=&#38;quot;http://finch.lib.virginia.edu/wordpress/wp-includes/js/l10n.js?ver=20101110&#38;quot; type=&#38;quot;text/javascript&#38;quot;&#38;gt;
&#38;lt;script src=&#38;quot;http://finch.lib.virginia.edu/wordpress/wp-includes/js/comment-reply.js?ver=20090102&#38;quot; type=&#38;quot;text/javascript&#38;quot;&#38;gt;
&#38;lt;script src=&#38;quot;http://finch.lib.virginia.edu/wordpress/wp-includes/js/jquery/jquery.js?ver=1.4.4&#38;quot; type=&#38;quot;text/javascript&#38;quot;&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "jQuery not defined"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-1#post-50285</link>
			<pubDate>Thu, 23 Feb 2012 06:39:24 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">50285@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post a link to the page with your form on it?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uvalib on "jQuery not defined"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-1#post-50239</link>
			<pubDate>Wed, 22 Feb 2012 17:56:04 +0000</pubDate>
			<dc:creator>uvalib</dc:creator>
			<guid isPermaLink="false">50239@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have searched the forums for this problem and seen several related topics. But none seem to indicate a solution that helps me. I'm using the Twenty Ten 1.2 theme and have created a separate file that is require_once in the functions.php. This file contains the simple shell specified in the Usage for Gform post render documentation (&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_render&#60;/a&#62;) as I just want to see that I'm placing the JavaScript in the correct place. But I get a &#34;jQuery is not defined&#34; error in Firebug. My short code for my first Gravity form is in a page like this [gravityform id=1 name=AskALibrarian ajax=true]. I can see that jQuery version 1.4.4 is loading in the header. I tried changing the jQuery at the start to $ but this produces the same kind of error. FYI, the form loads fine.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
