<?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: Loading GForms via jquery .load() prevents ajax submit from working correctly</title>
		<link>https://legacy.forums.gravityhelp.com/topic/loading-gforms-via-jquery-load-prevents-ajax-submit-from-working-correctly</link>
		<description>Gravity Support Forums Topic: Loading GForms via jquery .load() prevents ajax submit from working correctly</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 11:10:16 +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/loading-gforms-via-jquery-load-prevents-ajax-submit-from-working-correctly" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Loading GForms via jquery .load() prevents ajax submit from working correctly"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/loading-gforms-via-jquery-load-prevents-ajax-submit-from-working-correctly#post-68848</link>
			<pubDate>Tue, 31 Jul 2012 18:07:45 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">68848@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for extending on the little assistance I provided.  Glad you got that working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kubante on "Loading GForms via jquery .load() prevents ajax submit from working correctly"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/loading-gforms-via-jquery-load-prevents-ajax-submit-from-working-correctly#post-68809</link>
			<pubDate>Tue, 31 Jul 2012 14:54:59 +0000</pubDate>
			<dc:creator>kubante</dc:creator>
			<guid isPermaLink="false">68809@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey ! thanks for your reply. Actually your hint put me on the right track. In the end I managed to do it following the concept described here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wp.tutsplus.com/tutorials/getting-loopy-ajax-powered-loops-with-jquery-and-wordpress/&#34; rel=&#34;nofollow&#34;&#62;http://wp.tutsplus.com/tutorials/getting-loopy-ajax-powered-loops-with-jquery-and-wordpress/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Basically, if you want to insert posts (of course also posts that include forms) dynamically (and you want every bit of the post / form working, including its javascripts), you need to build an own wp_query and include it via a basic ajax request that looks more or less like this: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$.ajax({
                type       : &#38;quot;GET&#38;quot;,
                data       : {numPosts : 1, pageNumber: page},
                dataType   : &#38;quot;html&#38;quot;,
                url        : &#38;quot;http://WWW.YOURSITE.COM/wp-content/themes/YOUR_THEME_NAME/loopHandler.php&#38;quot;,&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Hope this helps,&#60;/p&#62;
&#60;p&#62;regards,&#60;/p&#62;
&#60;p&#62;kubante
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Loading GForms via jquery .load() prevents ajax submit from working correctly"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/loading-gforms-via-jquery-load-prevents-ajax-submit-from-working-correctly#post-68402</link>
			<pubDate>Sun, 29 Jul 2012 01:49:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">68402@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Will any of these JavaScript related events help you?  I'm not exactly certain what you're trying to do or where the pitfalls lie.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Developer_Docs#Javascript&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Developer_Docs#Javascript&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kubante on "Loading GForms via jquery .load() prevents ajax submit from working correctly"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/loading-gforms-via-jquery-load-prevents-ajax-submit-from-working-correctly#post-68248</link>
			<pubDate>Fri, 27 Jul 2012 14:21:17 +0000</pubDate>
			<dc:creator>kubante</dc:creator>
			<guid isPermaLink="false">68248@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there! &#60;/p&#62;
&#60;p&#62;I guess my title says it all. Just read it once more. Its all in there :) And it also makes sense. After having googled extensively i discovered that .load() won´t load in the respective javascript and thus content using javascript won´t work in the new environment (e.g. the div where i loaded my form in). &#60;/p&#62;
&#60;p&#62;Anyhow, just to give you a more specific idea of my situation: I have a post with my form (embedded by shortcore). I am loading this post dynamically into my page. Everything works, HTML, CSS, and even the AJAX submission. Yes it works, (I actually get a post uplaoded), but it won´t reload nor do anything once the upload is done, leaving my users with still the form in front of them. &#60;/p&#62;
&#60;p&#62;NOW MY QUESTION:  :) &#60;/p&#62;
&#60;p&#62;Is there a javascript function call I can trigger after .load() (or in the load callback) in order to give my newly loaded form all the javascript bits it needs, to correctly perform its ajax submit? And if yes, which one?   &#60;/p&#62;
&#60;p&#62;That said, thanks ahead for any hint or help!!! &#60;/p&#62;
&#60;p&#62;Hope we can get this working, I am sure it will be interesting for others as well. &#60;/p&#62;
&#60;p&#62;regards,&#60;/p&#62;
&#60;p&#62;kubante
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
