<?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?  Empty jQuery function in wp_head();?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-empty-jquery-function-in-wp_head</link>
		<description>Gravity Support Forums Topic: jQuery not defined?  Empty jQuery function in wp_head();?</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:41:51 +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-empty-jquery-function-in-wp_head" rel="self" type="application/rss+xml" />

		<item>
			<title>gruvii on "jQuery not defined?  Empty jQuery function in wp_head();?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-empty-jquery-function-in-wp_head#post-52934</link>
			<pubDate>Tue, 20 Mar 2012 02:39:47 +0000</pubDate>
			<dc:creator>gruvii</dc:creator>
			<guid isPermaLink="false">52934@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You are probably making calls to jQuery before it has loaded.  This might be happening if you are loading jQuery and other scripts in the footer/end of the body.  What you can do is queue the calls to jQuery and then execute them once jQuery is loaded.  Colin has a very good script for doing so here: &#60;a href=&#34;http://blog.colin-gourlay.com/blog/2012/02/safely-using-ready-before-including-jquery/&#34; rel=&#34;nofollow&#34;&#62;http://blog.colin-gourlay.com/blog/2012/02/safely-using-ready-before-including-jquery/&#60;/a&#62; .
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rpetersnmt on "jQuery not defined?  Empty jQuery function in wp_head();?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-empty-jquery-function-in-wp_head#post-51185</link>
			<pubDate>Fri, 02 Mar 2012 19:16:14 +0000</pubDate>
			<dc:creator>rpetersnmt</dc:creator>
			<guid isPermaLink="false">51185@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Trying to bump this up again....I've circled back here, still trying to solve this issue.  Turns out that Gravity was putting this empty function in before wp_head(), where I was previously including jQuery.  I've remedied that part now, but when an AJAX form (that's key...the AJAX bit, &#34;regular&#34; forms now no longer trip an &#34;undefined&#34; error) is submitted with validation errors...I still get the nagging &#34;jQuery is undefined&#34; error...but the form still seems to perform correctly.  Scratching my head here....anyone have an idea what's going on or how to fix it?&#60;/p&#62;
&#60;p&#62;Try submitting one of these forms with not data entered...you'll see the errors in Firebug and should see that jQuery is present just two lines ahead of the offending tags....&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.missouladowntown.com/add-property/&#34; rel=&#34;nofollow&#34;&#62;http://www.missouladowntown.com/add-property/&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.missouladowntown.com/add-member/&#34; rel=&#34;nofollow&#34;&#62;http://www.missouladowntown.com/add-member/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rpetersnmt on "jQuery not defined?  Empty jQuery function in wp_head();?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-not-defined-empty-jquery-function-in-wp_head#post-47476</link>
			<pubDate>Thu, 26 Jan 2012 20:12:05 +0000</pubDate>
			<dc:creator>rpetersnmt</dc:creator>
			<guid isPermaLink="false">47476@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey guys...I'm running into an odd JS error:&#60;/p&#62;
&#60;p&#62;Error: jQuery is not defined&#60;br /&#62;
Source File: &#60;a href=&#34;http://www.missouladowntown.com/add-property/&#34; rel=&#34;nofollow&#34;&#62;http://www.missouladowntown.com/add-property/&#60;/a&#62;&#60;br /&#62;
Line: 46&#60;/p&#62;
&#60;p&#62;Also here:&#60;br /&#62;
&#60;a href=&#34;http://www.missouladowntown.com/contact/&#34; rel=&#34;nofollow&#34;&#62;http://www.missouladowntown.com/contact/&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.missouladowntown.com/add-member/&#34; rel=&#34;nofollow&#34;&#62;http://www.missouladowntown.com/add-member/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But not, say, here (no GF form):&#60;br /&#62;
&#60;a href=&#34;http://www.missouladowntown.com/dine/&#34; rel=&#34;nofollow&#34;&#62;http://www.missouladowntown.com/dine/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This seems to be appearing on any page within our site that has an embedded GF Form....here's the rendered source code (empty function) that's triggering there firebug/JS error:&#60;/p&#62;
&#60;p&#62;        '&#38;lt;script&#38;gt;&#60;br /&#62;
        jQuery(function(){&#60;br /&#62;
                        });&#60;br /&#62;
        &#38;lt;/script&#38;gt;'&#60;/p&#62;
&#60;p&#62;Any thoughts as to why this function is printing out and/or why it is empty?&#60;/p&#62;
&#60;p&#62;Thanks in advance.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
