<form action="display_confluence_results.php" method="GET" class="searchContainerForm">
Выбор спейса:
<select name='spaceSelect'>
<option value='Sdesk' >ServiceDesk</option>
<option value='LOTUS'>Collaboration</option>
<option value='EDTeam'>Enterprise Desktop Team</option>
<option value='ISD'>Information Security Department</option>
<option value='SD'>SAS/DWH</option>
<option value='DevOps'>DevOps</option>
<option value='FIM'>Identity Management</option>
<option value='RA'>Remote Access</option>
</select>
<button class="searchPageButton" type="submit"></button>
</form>
<select name='spaceSelect' onChange="spaceSelect(this.value)">
<option value='Sdesk' <?php if($_GET['spaceSelect'] == 'Sdesk') {echo "selected";}?>>ServiceDesk</option>
<option value='LOTUS' <?php if($_GET['spaceSelect'] == 'LOTUS') {echo "selected";}?>>Collaboration</option>
<option value='EDTeam' <?php if($_GET['spaceSelect'] == 'EDTeam') {echo "selected";}?>>Enterprise Desktop Team</option>
<option value='ISD' <?php if($_GET['spaceSelect'] == 'ISD') {echo "selected";}?>>Information Security Department</option>
<option value='SD' <?php if($_GET['spaceSelect'] == 'SD') {echo "selected";}?>>SAS/DWH</option>
<option value='DevOps' <?php if($_GET['spaceSelect'] == 'DevOps') {echo "selected";}?>>DevOps</option>
<option value='FIM' <?php if($_GET['spaceSelect'] == 'FIM') {echo "selected";}?>>Identity Management</option>
<option value='RA' <?php if($_GET['spaceSelect'] == 'RA') {echo "selected";}?>>Remote Access</option>
</select>