Selected Country / State From Dynamic Dropdown List
<p>I'm using this Country / State dynamic selection on my code :</p>

<p><a href="http://bdhacker.wordpress.com/2009/11/21/adding-dropdown-country-state-list-dynamically-into-your-html-form-by-javascript/" rel="nofollow">http://bdhacker.wordpress.com/2009/11/21/adding-dropdown-country-state-list-dynamically-into-your-html-form-by-javascript/</a></p>

<p>and here's the demo page : 
<a href="http://bdhacker.sourceforge.net/javascript/countries/" rel="nofollow">http://bdhacker.sourceforge.net/javascript/countries/</a></p>

<p>but, unfortunately when I create setting / member profile page which I need to display selected country and state so user can see what they already chosen, I can't just put user's selected as 'value' on it. </p>

<p>here's what I see on page source even I have select a country and a state :</p>

<pre><code>Select Country: &lt;select onchange="print_state('state',this.selectedIndex);" id="country" name ="country"&gt;&lt;/select&gt;

City/District/State: &lt;select name ="state" id ="state"&gt;&lt;/select&gt;
</code></pre>

<p>how to put value on that ? because I did like this :</p>

<pre><code>Select Country:   
&lt;select onchange="print_state('state',this.selectedIndex);" id="country" name ="country" value="Indonesia"&gt;&lt;/select&gt;

City/District/State: &lt;select name ="state" id ="state"&gt;&lt;/select&gt;
</code></pre>

<p>and still I don't see there's a country selected. thanks!</p>
