modify this code to add more combo boxes

modify this code to add more combo boxes

Hi,

I have the following code.. It's adding (creating) a hobby textbox when clicking the link.

  1. <script type="text/javascript">
  2.     var counter = 0;
  3.     $(function(){
  4.      $('p#add_field').click(function(){
  5.      counter += 1;
  6.      $('#container').append(
  7.      '<strong>Hobby No. ' + counter + '</strong><br />'
  8.      + '<input id="field_' + counter + '" name="dynfields[]' + '" type="text" /><br />' );

  9.      });
  10.     });
  11. </script>
I also have the following code:

  1. <div id="container">
  2. <select name="cboResidenceLocation" id="cboResidenceLocation" style="width: 100%">
  3.     <option value="">[Unspecified..]</option>
  4.     <?php
  5.         $mysql_command = "CALL sp_populate_country()";
  6.         $mysql_query = $mysql_connection->prepare($mysql_command);

  7.         $mysql_query->execute();

  8.         while($mysql_row = $mysql_query->fetch())
  9.         {
  10.     ?>
  11.     <option value="<?php echo $mysql_row['country_code_alpha2']; ?>" <?php if ($mysql_row['country_code_alpha2'] == $company_country) { echo 'selected'; } ?>><?php echo $mysql_row['country_name']; ?></option>
  12.     <?php } ?>
  13. </select>
  14. <br>
  15. </div>

How can I let the Add More link to create new  cboResidenceLocation instead of creating the textbox?