dynamic selection country city using javascript
<p>I wrote the code for dynamic selection country city like this way.The code running fine on Mozila, Chrome, Opera, Safari and Internet Explorer <em>9</em>, but the dynamic selection of country city code is not working on Internet Explorer <em>8</em> and earlier versions.</p>

<pre><code>&lt;form method=post id="formname" name="formname" action=eaccountdb.php 
      enctype="multipart/form-data"  onsubmit="return Validate();"&gt;
  &lt;table class="style2"&gt;
    &lt;tr&gt;
      &lt;td&gt;
        &lt;table align="left" width="100%"&gt;
          &lt;tr&gt;
            &lt;td align="left"&gt;
              &lt;label for="country"&gt;Country*&lt;/label&gt;
      &lt;?php
      $country = $_GET['country'];
      if ($country == null)
      {
          $data = mysql_query("select * from country where countryname !='$country'");
          echo "
                &lt;select name='country' style='width:150px' id='country' 
                        onchange='show_country(this.value);'&gt;
                  &lt;option&gt;Select Country&lt;/option&gt;";
          while ($info = mysql_fetch_array($data))
          {
              echo "&lt;option&gt;". $info['countryname']."&lt;/option&gt;" ;
          }
          echo "&lt;/select&gt;";
      }
      ...
</code></pre>
