Combobox within html form tags

Combobox within html form tags

I need quick help with the combo box, the script i am using below works perfectly fine until i put the combobox within form tags the autocomplete works fine but the dropdown list automatically submits the form once clicked???
  1. <form>
  2. <label>Town: </label>
  3. <select id="town" name="town">
  4. <option value="">Select one...</option>
  5. <?php 
  6. $fetch = mysql_query("SELECT DISTINCT Town FROM properties");
  7. while ($row = mysql_fetch_array($fetch, MYSQL_ASSOC)) {
  8. $townnames = $row['Town'];
  9. echo "<option value=\"$townnames\">$townnames</option>";
  10.      }
  11. ?>
  12. </select>
  13. </form>