Basically i have a form with jqueryui implemented (autocompletes) and I need the form to display the number of current results as the user fills the form, i.e. once the user has finished inputting data into one field, the form will query the database with the current form details and return just the number of results ($mysql_num_rows)
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???
<form>
<label>Town: </label>
<select id="town" name="town">
<option value="">Select one...</option>
<?php
$fetch = mysql_query("SELECT DISTINCT Town FROM properties");
while ($row = mysql_fetch_array($fetch, MYSQL_ASSOC)) {