<?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: Simple jQuery addition to my form not working</title>
		<link>https://legacy.forums.gravityhelp.com/topic/simple-jquery-addition-to-my-form-not-working-1</link>
		<description>Gravity Support Forums Topic: Simple jQuery addition to my form not working</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 21:45:28 +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/simple-jquery-addition-to-my-form-not-working-1" rel="self" type="application/rss+xml" />

		<item>
			<title>mike52 on "Simple jQuery addition to my form not working"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/simple-jquery-addition-to-my-form-not-working-1#post-315697</link>
			<pubDate>Mon, 10 Jun 2013 15:45:28 +0000</pubDate>
			<dc:creator>mike52</dc:creator>
			<guid isPermaLink="false">315697@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a recreated a simple version of my problem @ &#60;a href=&#34;http://bookbindingbycrawford.co.uk/1336-2/&#34; rel=&#34;nofollow&#34;&#62;http://bookbindingbycrawford.co.uk/1336-2/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I have a simple drop down, add it has conditional logic attached to it so if you select United Kingdom, or Ireland then a drop down that contains the counties is visible, but I also have jQuery populate the input below with the value of the country drop down (this is more complicated in my original form), these values are connected to JSON for a money value. But even without this complication I am still having problems. See below my jQuery&#60;/p&#62;
&#60;p&#62;The problem arrises when you select United Kindgom or Ireland, the value doesn't appear, but if you click the empty input then the value appears. &#60;/p&#62;
&#60;p&#62; `&#60;br /&#62;
selectBox = jQuery(&#34;#input_11_2&#34;);&#60;br /&#62;
targetBox = jQuery(&#34;#input_11_1&#34;);&#60;br /&#62;
selectBox.change(function() {&#60;br /&#62;
    var selectVal = selectBox.val();&#60;br /&#62;
    country2Amount = (info[selectVal]);&#60;br /&#62;
    jQuery(&#34;#input_11_1&#34;).val(country2Amount);&#60;br /&#62;
}).change();&#60;br /&#62;
`
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
