I am trying to find an alternative way to submit a form when a listrow is clicked, instead of the user clicking the list and then a submit button. Code below is what I have at the moment, excluding the submit button code. Thanks
echo '<select name="Barcode" size="15" style="width:150px;">';
while($nt=mysql_fetch_array($result)) { // Array or records stored in nt
echo '<option value="'.$nt[Barcode].'">' .$nt['Barcode'].'</option>';
}
echo '</select>'; // closing list
?>
echo '<select name="Barcode" size="15" style="width:150px;">';
while($nt=mysql_fetch_array($result)) { // Array or records stored in nt
echo '<option value="'.$nt[Barcode].'">' .$nt['Barcode'].'</option>';
}
echo '</select>'; // closing list
?>