<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB"><title>Comments on Countries Select Box - AddedBytes.com</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/" /><link rel="self" type="application/xml" href="http://www.addedbytes.com/article/countries-select-box/comments/atom/" /><subtitle>Latest comments on Countries Select Box on AddedBytes.com</subtitle><author><name>Dave Child</name></author><updated>2003-10-24T23:15:17Z</updated><id>tag:addedbytes.com,2003:25</id><!-- ckey="76C662BB" --><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">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;
								}</summary><id>tag:addedbytes.com,2008:105766</id><published>2008-10-21T07:16:33+01:00</published><updated>2008-10-21T07:16:33Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">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.</summary><id>tag:addedbytes.com,2008:105336</id><published>2008-10-12T08:38:24+01:00</published><updated>2008-10-12T08:38:24Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">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;
</summary><id>tag:addedbytes.com,2008:104486</id><published>2008-09-11T20:08:54+01:00</published><updated>2008-09-11T20:08:54Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">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</summary><id>tag:addedbytes.com,2008:100936</id><published>2008-07-29T06:49:53+01:00</published><updated>2008-07-29T06:49:53Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">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!</summary><id>tag:addedbytes.com,2008:90945</id><published>2008-04-11T11:28:08+01:00</published><updated>2008-04-11T11:28:08Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">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!</summary><id>tag:addedbytes.com,2007:62214</id><published>2007-11-22T08:31:15+00:00</published><updated>2007-11-22T08:31:15Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">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</summary><id>tag:addedbytes.com,2007:56214</id><published>2007-10-23T16:17:35+01:00</published><updated>2007-10-23T16:17:35Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">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.</summary><id>tag:addedbytes.com,2007:55391</id><published>2007-10-10T23:10:21+01:00</published><updated>2007-10-10T23:10:21Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">Comment by Daniel ( &lt;a href="http://www.kiboke-design.hr"&gt;http://www.kiboke-design.hr&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;&lt;option&gt;Serbia and Montenegro&lt;/option&gt;&lt;br /&gt;&lt;br /&gt;serbia and montenegro are now separate countries.</summary><id>tag:addedbytes.com,2007:52743</id><published>2007-09-14T08:07:56+01:00</published><updated>2007-09-14T08:07:56Z</updated></entry><entry><title>Comment on Countries Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/countries-select-box/comments/" /><summary type="text">Comment by Ollie Cronk ( &lt;a href="http://blog.cronky.net"&gt;http://blog.cronky.net&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Opps looks like I am 5 years behind - apologies - will read threads before posting in future!!!</summary><id>tag:addedbytes.com,2007:46892</id><published>2007-07-31T17:04:47+01:00</published><updated>2007-07-31T17:04:47Z</updated></entry></feed>