<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Autopopulate Select Dropdown Box Using jQuery</title>
	<atom:link href="http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/</link>
	<description>Your daily web habit</description>
	<lastBuildDate>Thu, 19 Jan 2012 05:59:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ohnmarsoe Ss</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-3537</link>
		<dc:creator>Ohnmarsoe Ss</dc:creator>
		<pubDate>Fri, 09 Dec 2011 08:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-3537</guid>
		<description>how to dynamic dropdown with database.</description>
		<content:encoded><![CDATA[<p>how to dynamic dropdown with database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JQuest</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-3532</link>
		<dc:creator>JQuest</dc:creator>
		<pubDate>Tue, 08 Nov 2011 20:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-3532</guid>
		<description>I got it working with the exception that the second drop-down box shows values but they are not selectable.  What am I doing wrong? I&#039;ve compared your working source code with mine and I cannot see a difference.</description>
		<content:encoded><![CDATA[<p>I got it working with the exception that the second drop-down box shows values but they are not selectable.  What am I doing wrong? I&#8217;ve compared your working source code with mine and I cannot see a difference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KerryB</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-3503</link>
		<dc:creator>KerryB</dc:creator>
		<pubDate>Sun, 25 Sep 2011 00:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-3503</guid>
		<description>Thanks for this code. Had to modify it to get it working, in particular;

* Change the line:
 if (msg != ”)
-&gt; to be: 
 if (msg != &quot;&quot;)
=&gt;and correct the same problem in the line that has the .html(&quot;)

* When I did a cut &amp; paste the single quote characters you are using have to be changed to ordinary ones ie: &#039;</description>
		<content:encoded><![CDATA[<p>Thanks for this code. Had to modify it to get it working, in particular;</p>
<p>* Change the line:<br />
 if (msg != ”)<br />
-&gt; to be:<br />
 if (msg != &#8220;&#8221;)<br />
=&gt;and correct the same problem in the line that has the .html(&#8220;)</p>
<p>* When I did a cut &amp; paste the single quote characters you are using have to be changed to ordinary ones ie: &#8216;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raimis200</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-3445</link>
		<dc:creator>raimis200</dc:creator>
		<pubDate>Wed, 20 Jul 2011 10:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-3445</guid>
		<description>how to create if i want that after submit, second select box will be marked with selected. Now, if i will click submit, second select box will be reseted.</description>
		<content:encoded><![CDATA[<p>how to create if i want that after submit, second select box will be marked with selected. Now, if i will click submit, second select box will be reseted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-3443</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Thu, 14 Jul 2011 15:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-3443</guid>
		<description>Thank god someone has put this simply!</description>
		<content:encoded><![CDATA[<p>Thank god someone has put this simply!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ned</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-378</link>
		<dc:creator>Ned</dc:creator>
		<pubDate>Wed, 06 Apr 2011 07:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-378</guid>
		<description>Working great with codeigniter. Saved my time, Thanks.</description>
		<content:encoded><![CDATA[<p>Working great with codeigniter. Saved my time, Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arly</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-337</link>
		<dc:creator>Arly</dc:creator>
		<pubDate>Sat, 05 Feb 2011 20:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-337</guid>
		<description>I can&#039;t make this work. how should I name the remote php file?</description>
		<content:encoded><![CDATA[<p>I can&#8217;t make this work. how should I name the remote php file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-323</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Wed, 29 Dec 2010 20:51:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-323</guid>
		<description>Great tutorial. Saved me a lot of hair pulling this page has.</description>
		<content:encoded><![CDATA[<p>Great tutorial. Saved me a lot of hair pulling this page has.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-316</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Thu, 23 Dec 2010 07:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-316</guid>
		<description>Works beautifully! Thanks for sharing!

Jerry</description>
		<content:encoded><![CDATA[<p>Works beautifully! Thanks for sharing!</p>
<p>Jerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adi</title>
		<link>http://www.codingcereal.com/2009/09/autopopulate-select-dropdown-box-using-jquery/comment-page-1/#comment-312</link>
		<dc:creator>Adi</dc:creator>
		<pubDate>Sun, 19 Dec 2010 13:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingcereal.com/?p=183#comment-312</guid>
		<description>I solved it. I am posting this simple solution here if anyone else needs it.

This will send a numeric value instead of the label.

$i = 0;

if (isset($_POST[&#039;data&#039;]) and in_array($_POST[&#039;data&#039;], $expectedValues)){
    $selectedArr = $selectionArr[$_POST[&#039;data&#039;]];

    foreach($selectedArr as $optionValue){
		
        echo &#039;&#039; . $optionValue . &#039;&#039;;
		$i++;
    }
}</description>
		<content:encoded><![CDATA[<p>I solved it. I am posting this simple solution here if anyone else needs it.</p>
<p>This will send a numeric value instead of the label.</p>
<p>$i = 0;</p>
<p>if (isset($_POST['data']) and in_array($_POST['data'], $expectedValues)){<br />
    $selectedArr = $selectionArr[$_POST['data']];</p>
<p>    foreach($selectedArr as $optionValue){</p>
<p>        echo &#8221; . $optionValue . &#8221;;<br />
		$i++;<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

