Hi, I have a form where user need to select a few staff as reviewer. Since I'm still new with javascript, I do not know how to do it.

The situation is user will see one drop down list and need to select a reviewer. Once selected, it will be displayed the name below it. later, another drop downlist will appear and user can select next reviewer. and its continue until the 3rd reviewer. User also can delete those reviewer they select earlier and new drop down list appear..

Is it complicated?? I can't thing any any simpler explanation.

PHP Code:
<form action="admin_assignStaff.php" name="selectStaff" id="selectStaff">
<tr>
<td><b>Evaluator</td>            
<td><?php 
                $submissionID 
$_GET['subid'];
            
$sql4=oci_parse($conn,"SELECT staffID, COUNT(*) OVER (PARTITION BY subID) FROM submission JOIN evaluation USING (subID) WHERE subID='1'") or die(oci_error());
        
$result4=oci_execute($sql4);
        
$row4=oci_fetch_array($sql4);
            if(
$row4['COUNT']==0){
                
$sql5=oci_parse($conn,"SELECT * FROM staff WHERE staffID!='".$stfID."' AND staffID!='".$stfID2."'") or die(oci_error());
                
$result5=oci_execute($sql5);
                echo 
'<select name="evaluator" id="evaluator">';
                echo 
'<option value=" "><---------- Choose Evaluator ---------->';
                while(
$row5=oci_fetch_array($sql5))
                {
                                        echo 
'<option value="'.$row5['STFNAME'].'">'.$row5['STFNAME'].'</option>';
                }
                                echo 
'</select><br /><div id="staff">  </div>';
                }
                else{
                    while(
$row4){
                        
$stfID3=$row['STAFFID'];
                                
$sql3=oci_parse($stfID3,"SELECT stfname FROM staff WHERE staffID='".$stfID2."'") or die(oci_error());
                        
$result3=oci_execute($sql3);
                        
$row3=oci_fetch_array($sql3);
                        echo 
$row2['STFNAME']; 
                            }
                    }
        
?></td><tr></table><form>
I put one part of the form where user have to do the selection.

and this is what I have try myself.. It is so simple and of course, doesn't work.

HTML Code:
<script>
$(document).ready(function()) {
	$('select').change(function(){
		var value = $(this).val();
		$('#option').show(value);
		});
});
</script>
Please help me..