I have a form created with javascript https://jsfiddle.net/wdLtv01x/1/ I need to populate my select list interviewer with PHP and MySQL
<div class="col-md-9">
<div class="form-group">
<label class="form-label" for="interviewerName">Interviewer par :</label>
<select id="interviewerName" name="interviewerName_<?php echo $i;?>" style="width: 100%;">
<?php foreach ($userList->getListUser() as $user):?>
<option value="<?php echo $user->name; ?>"><?php echo $user->name; ?></option>
<?php endforeach; ?>
</select>
</div>
How can I create and populate my select list using javascript ?