<?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? Image changes based on selection.</title>
		<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection</link>
		<description>Gravity Support Forums Topic: jQuery? Image changes based on selection.</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:26:11 +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-image-changes-based-on-selection" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-41551</link>
			<pubDate>Fri, 18 Nov 2011 15:52:57 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">41551@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@friesens Multi-Page forms are more complex.  You would have to trigger your code each time a new page in the multi-page form is loaded.  You do this using jQuery.  This is the hook you would use:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_page_loaded&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_page_loaded&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>friesens on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-41524</link>
			<pubDate>Fri, 18 Nov 2011 09:17:13 +0000</pubDate>
			<dc:creator>friesens</dc:creator>
			<guid isPermaLink="false">41524@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am also testing this on one of my forms.  It works as long as the the form is on the first page.  As soon as I click next - it stops working. My form needs the images on page 2 of the form. The form is not publicly available - what could be the issue here?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>saulorama on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-39753</link>
			<pubDate>Wed, 02 Nov 2011 17:29:39 +0000</pubDate>
			<dc:creator>saulorama</dc:creator>
			<guid isPermaLink="false">39753@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, yeah it could get messy. lol.&#60;/p&#62;
&#60;p&#62;So,&#60;br /&#62;
$('#input_1_1, #field_1_2 input')&#60;br /&#62;
would turn into&#60;br /&#62;
$('.i_change')&#60;/p&#62;
&#60;p&#62;Would that work to select all classes of i_class?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-39750</link>
			<pubDate>Wed, 02 Nov 2011 17:26:13 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">39750@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Saul,&#60;/p&#62;
&#60;p&#62;Sure you can update the script to target any field you want. The trick is making sure that the images which are displayed have the corresponding value/class to the script knows which images to target.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>saulorama on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-39748</link>
			<pubDate>Wed, 02 Nov 2011 17:22:52 +0000</pubDate>
			<dc:creator>saulorama</dc:creator>
			<guid isPermaLink="false">39748@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can I have the javascript target any input field with a css class name of i_change instead of  #input_1_1 or #field_1_2? The reason I ask is this is a great script and it would be nice to call it when I need it instead of insert the field every time. I am about to build a site with 14 forms and each form has 2-4 image selections. &#60;/p&#62;
&#60;p&#62;You have already made the process easier than I thought it could be. Lets take it one more step? :)&#60;/p&#62;
&#60;p&#62;Thanks, yall are awesome!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>saulorama on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-39747</link>
			<pubDate>Wed, 02 Nov 2011 17:12:31 +0000</pubDate>
			<dc:creator>saulorama</dc:creator>
			<guid isPermaLink="false">39747@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Never mind... :) I fixed it. I forgot that Wordpress automatically adds a paragraph to everything. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-39746</link>
			<pubDate>Wed, 02 Nov 2011 17:07:54 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">39746@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Saul, it looks like when you hide the top 2 images, your break tags are still visible, causing the space.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>saulorama on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-39745</link>
			<pubDate>Wed, 02 Nov 2011 17:00:03 +0000</pubDate>
			<dc:creator>saulorama</dc:creator>
			<guid isPermaLink="false">39745@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yeah, I was over thinking it and didn't realize setting the &#34;value&#34; in the form was part of the class with the javascript. Thanks!!! I got it working... but I had one last simple question.&#60;/p&#62;
&#60;p&#62;I believe my images have the same setup as yours but what did you do different to have them next to each other instead of jumping around like mine?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://digitalsqfthost.net/forms/?page_id=9&#34; rel=&#34;nofollow&#34;&#62;http://digitalsqfthost.net/forms/?page_id=9&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-39733</link>
			<pubDate>Wed, 02 Nov 2011 15:28:33 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">39733@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Saul,&#60;/p&#62;
&#60;p&#62;Check out the code in this example samples:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://dl.dropbox.com/u/689144/files/jquery-image-changer.htm&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/689144/files/jquery-image-changer.htm&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You'll see that all the images are in a single &#34;parent&#34; div. This is important since that is how we are targeting the images to hide. The next thing is, since you wanted to show and hide them in groups, I updated the value of the field options to &#34;test_group_1&#34; and &#34;test_group_2&#34; respectively. Then added that same value as a class to the &#34;groups&#34; of images.&#60;/p&#62;
&#60;p&#62;Let me know if you have any questions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>saulorama on "jQuery? Image changes based on selection."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/jquery-image-changes-based-on-selection#post-39651</link>
			<pubDate>Wed, 02 Nov 2011 09:17:48 +0000</pubDate>
			<dc:creator>saulorama</dc:creator>
			<guid isPermaLink="false">39651@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Since I am new to jQuery I am having a blast trying to learn this.&#60;/p&#62;
&#60;p&#62;So far I have setup four images. The first two images should be tied to the first input field and the second two images should be tied to the second input field.&#60;/p&#62;
&#60;p&#62;I would like to have image 2 not be shown and replace image 1 if selection changes to the first image choice in #input_1_1. I just don't see how to select the value field from the form in jQuery. I see stuff about .val() but I am not sure if replacing #input_1_1 with that would work. I can't seem to get it to work that is.&#60;/p&#62;
&#60;p&#62;Thanks in advance!!!&#60;/p&#62;
&#60;p&#62;-Saul
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
