<?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: Textbox and Dropdown combined</title>
	<atom:link href="http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/</link>
	<description>Tap my brain, drink it up.</description>
	<lastBuildDate>Sat, 17 Jul 2010 01:00:45 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MichaelApproved</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-73</link>
		<dc:creator>MichaelApproved</dc:creator>
		<pubDate>Wed, 19 May 2010 21:26:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-73</guid>
		<description>This example is meant to show how to put a textbox over a dropdown list and allow a user to select from the list or enter new data. Updating a dropdown list is a separate article which others have already written about. &lt;a href=&quot;http://www.google.com/search?q=javascript+update+dropdown&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/search?q=javascript+updat...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>This example is meant to show how to put a textbox over a dropdown list and allow a user to select from the list or enter new data. Updating a dropdown list is a separate article which others have already written about. <a href="http://www.google.com/search?q=javascript+update+dropdown" rel="nofollow"></a><a href="http://www.google.com/search?q=javascript+updat.." rel="nofollow">http://www.google.com/search?q=javascript+updat..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sowmiya_G</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-72</link>
		<dc:creator>Sowmiya_G</dc:creator>
		<pubDate>Wed, 19 May 2010 13:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-72</guid>
		<description>In this we cant able to get the items in the dropdownlist....But we want to view  the items in the dropdown as well as to insert a new item in it.... plz help us</description>
		<content:encoded><![CDATA[<p>In this we cant able to get the items in the dropdownlist&#8230;.But we want to view  the items in the dropdown as well as to insert a new item in it&#8230;. plz help us</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelApproved</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-57</link>
		<dc:creator>MichaelApproved</dc:creator>
		<pubDate>Tue, 23 Feb 2010 22:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-57</guid>
		<description>Thanks for catching and reporting this bug. The problem was that the first option in the dropdown was automatically being selected Though it&#039;s the normal behavior of a dropdown, in this case it&#039;s causing a problem for us. I missed that because the textbox was covering the dropdown and hiding that item 1 was already selected. Because it was already selected the onchange event wouldn&#039;t fire if it was reselected.&lt;br&gt;&lt;br&gt;The solution is to execute the DropDownIndexClear function once when the page loads. I updated the code to include this fix.</description>
		<content:encoded><![CDATA[<p>Thanks for catching and reporting this bug. The problem was that the first option in the dropdown was automatically being selected Though it&#39;s the normal behavior of a dropdown, in this case it&#39;s causing a problem for us. I missed that because the textbox was covering the dropdown and hiding that item 1 was already selected. Because it was already selected the onchange event wouldn&#39;t fire if it was reselected.</p>
<p>The solution is to execute the DropDownIndexClear function once when the page loads. I updated the code to include this fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-55</link>
		<dc:creator>john</dc:creator>
		<pubDate>Thu, 11 Feb 2010 14:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-55</guid>
		<description>i noticed this too</description>
		<content:encoded><![CDATA[<p>i noticed this too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-56</link>
		<dc:creator>john</dc:creator>
		<pubDate>Thu, 11 Feb 2010 14:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-56</guid>
		<description>very nice. it works well in an ajax/dhtml table that i have. i couldnt get dhtmlxcombo to work but yours is working great. I&#039;m having a little trouble cssing it up but it will probably work thanks</description>
		<content:encoded><![CDATA[<p>very nice. it works well in an ajax/dhtml table that i have. i couldnt get dhtmlxcombo to work but yours is working great. I&#39;m having a little trouble cssing it up but it will probably work thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Low</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-53</link>
		<dc:creator>David Low</dc:creator>
		<pubDate>Tue, 02 Feb 2010 07:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-53</guid>
		<description>This is a great solution but I did find one thing that does n&#039;t seem right. When I click on the dropdown directly the select item 1 does not populate the text box.  &lt;br&gt;&lt;br&gt;When I debugged it the onchange trigger for the dropdown did not fire. The reason is to do with the initial value of the selectedIndex which is 0 at this point. When I initialised it to -1 by calling DropDownIndexClear before entering the dropdown it works. &lt;br&gt;&lt;br&gt;I am not sure of the best point of initialisation though. I tried on an onclick which is ok for IE8 and Firefox 3.6 but it did not work on Safari. It does work though on a onmouseover but I am not convinced this is the most elegant solution.</description>
		<content:encoded><![CDATA[<p>This is a great solution but I did find one thing that does n&#39;t seem right. When I click on the dropdown directly the select item 1 does not populate the text box.  </p>
<p>When I debugged it the onchange trigger for the dropdown did not fire. The reason is to do with the initial value of the selectedIndex which is 0 at this point. When I initialised it to -1 by calling DropDownIndexClear before entering the dropdown it works. </p>
<p>I am not sure of the best point of initialisation though. I tried on an onclick which is ok for IE8 and Firefox 3.6 but it did not work on Safari. It does work though on a onmouseover but I am not convinced this is the most elegant solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howard</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-12</link>
		<dc:creator>Howard</dc:creator>
		<pubDate>Fri, 02 Oct 2009 13:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-12</guid>
		<description>I did exactly as you directed and it works, thanks a million Michael!</description>
		<content:encoded><![CDATA[<p>I did exactly as you directed and it works, thanks a million Michael!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelApproved</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-11</link>
		<dc:creator>MichaelApproved</dc:creator>
		<pubDate>Thu, 01 Oct 2009 19:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-11</guid>
		<description>You shouldn&#039;t have to change the JS. Just make sure you update the object names DropDownExTextboxExample and TextboxExample to something different for each new combo you create. Use the new object names in the onchange events.</description>
		<content:encoded><![CDATA[<p>You shouldn&#39;t have to change the JS. Just make sure you update the object names DropDownExTextboxExample and TextboxExample to something different for each new combo you create. Use the new object names in the onchange events.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howard</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-9</link>
		<dc:creator>Howard</dc:creator>
		<pubDate>Thu, 01 Oct 2009 10:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-9</guid>
		<description>Hey :) It works perfectly in Chrome, sorry if i wasn&#039;t clear about that. The problem is i can&#039;t code Javascript very well and I simply couldn&#039;t figure out how to put more than 1 combo box in a form, if indeed it is possible. So, in advance of me hacking the code and spending hours attempting to get it to do this I just wanted to ask your opinion on whether this would be possible. Thanks! Howard</description>
		<content:encoded><![CDATA[<p>Hey <img src='http://www.michaelapproved.com/articles/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  It works perfectly in Chrome, sorry if i wasn&#39;t clear about that. The problem is i can&#39;t code Javascript very well and I simply couldn&#39;t figure out how to put more than 1 combo box in a form, if indeed it is possible. So, in advance of me hacking the code and spending hours attempting to get it to do this I just wanted to ask your opinion on whether this would be possible. Thanks! Howard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MichaelApproved</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/comment-page-1/#comment-8</link>
		<dc:creator>MichaelApproved</dc:creator>
		<pubDate>Thu, 01 Oct 2009 10:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71#comment-8</guid>
		<description>I haven&#039;t tried it out on Chrome yet. Are you able to get just one to work? Is the problem multiple combined textboxes or does it not work on Chrome at all?</description>
		<content:encoded><![CDATA[<p>I haven&#39;t tried it out on Chrome yet. Are you able to get just one to work? Is the problem multiple combined textboxes or does it not work on Chrome at all?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.270 seconds -->
