<?xml version="1.0"?><rss version="2.0"><channel><title>Comments on Countries Select Box - AddedBytes.com</title><link>http://www.addedbytes.com/article/countries-select-box/</link><description>Latest comments on Countries Select Box on AddedBytes.com</description><!-- ckey="76C662BB" --><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by jay mabazza ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;thnx! this is very very useful!</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by Sharry ( &lt;a href="http://www.molinto.com"&gt;http://www.molinto.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Please include the 'Isle of Man', as its a seperate country (has the longest continuous parliament in the world).&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
PS - See here for a PHP country array:&lt;br /&gt;
http://www.shortText.com/p1dr51t</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by sunder ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;how to display the database returned value into the select box&lt;br /&gt;
i have a code but it gives an error to replace that value pls check it&lt;br /&gt;
 var opt1=&quot;&quot;;&lt;br /&gt;
								 if(couseRes[3] == &quot;Yes&quot;)&lt;br /&gt;
							     {&lt;br /&gt;
							       opt1 = &quot;00&quot;;&lt;br /&gt;
							     }&lt;br /&gt;
							     else&lt;br /&gt;
							     {&lt;br /&gt;
							       opt1 = &quot;10&quot;;&lt;br /&gt;
							     }&lt;br /&gt;
							     var locList=document.getElementById(&quot;CourseType&quot;);&lt;br /&gt;
								for(var i=locList.options.length-1;i&gt;=0;i--)&lt;br /&gt;
								{&lt;br /&gt;
									alert(&quot;value:::::&quot;+locList);&lt;br /&gt;
								    &lt;br /&gt;
									if(locList.options[i].value == opt1)&lt;br /&gt;
									{&lt;br /&gt;
										locList.options[i].selected = true;&lt;br /&gt;
									}&lt;br /&gt;
									else&lt;br /&gt;
									{&lt;br /&gt;
										locList.options[i].selected = false;&lt;br /&gt;
								}&lt;br /&gt;
								}</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by Michael ( &lt;a href="http://www.thisiswilson.com"&gt;http://www.thisiswilson.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;#7 Did just that&lt;br /&gt;
&lt;br /&gt;
http://www.shorttext.com/fz3b0&lt;br /&gt;
&lt;br /&gt;
really nice.</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by Martin Bean ( &lt;a href="http://www.mcbwebdesign.co.uk"&gt;http://www.mcbwebdesign.co.uk&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;&quot;Not to complain, but value=&quot;samename&quot; would be helpful&quot;&lt;br /&gt;
&lt;br /&gt;
An &lt;option&gt; tag automatically returns the string within the opening and closing tags if the value attribute is not specified.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by Aamir ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;GoodMornning&lt;br /&gt;
Also add the value of option&lt;br /&gt;
like that&lt;br /&gt;
&quot;&lt;option value=&quot;Afghanitan&quot;&gt;Afghanistan&lt;/option&gt;&quot;&lt;br /&gt;
bye</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by Dave Child ( &lt;a href="http://www.addedbytes.com"&gt;http://www.addedbytes.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I've finally added the French version of this list, sent to me by the very kind David Hunter.&lt;br /&gt;&lt;br /&gt;I've also split Serbia and Montenegro into their own countries and Macedonia has been renamed as per comment #19. &lt;br /&gt;&lt;br /&gt;Thanks all!</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by lo j ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;someone said: &quot;[#2] There is also an easier way to do this using PHP and MySQL. &quot;&lt;br /&gt;&lt;br /&gt;...that was funny!! i really like that kind of humor!</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by Dakota ( &lt;a href="http://www.onlinebizbuzz.com"&gt;http://www.onlinebizbuzz.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I had a list but it was missing one country. I knew the real count but I did not know what country is missing. It was the palestinian Territory.&lt;br /&gt;&lt;br /&gt;I found here :)&lt;br /&gt;&lt;br /&gt;Thanks</description></item><item><title>Comment on Countries Select Box</title><link>http://www.addedbytes.com/article/countries-select-box/comments/</link><guid>http://www.addedbytes.com/article/countries-select-box/comments/</guid><description>Comment by Nevermind ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;The country listed as &quot;Macedonia&quot; is referred to as &quot;The former Yugoslav Republic of Macedonia&quot;  within UN (http://www.un.org/members/list.shtml#t), EU and NATO (Also see the previously referred page http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ). This is the correct name to use, because Macedonia is the name of a Greek province and there is a dispute over this name between Greece and FYROM, not yet solved.</description></item></channel></rss>