The following is working fine in modern browsers and IE 10+. But in IE <10, it's not. In such cases, $staffSelection displays only the first part but not the string concatenated onto it with the option tags. Not sure why...
$staffSelection = '<div class="' . $branch . '-' . $staffType . '">';
$staffSelection .= '<option value=""></option>';
echo $staffSelection;