JSFiddle - React, Tailwind, and code Playground
HTML
<select id="option_two" multiple>
<option value="VOIP">VOIP</option>
<option value="BDS">BDS</option>
<option value="DMW">DMW</option>
<option value="IDTV">IDTV</option>
<option value="P3TR">P3TR</option>
</select>
JavaScript
function manageFIAOnNSP(nspObj) {
var nspLukaCent = ((nspObj.value == 'X8889') || (nspObj.value == 'X8888'));
var showFIAforLukaCent = (!nspLukaCent) && ((getAccessValue() == 'GO WS') || (getAccessValue() == 'PLUS WS') || (getAccessValue() == 'Pro WS'));
try {
if(showFIAforLukaCent){
if($('fastInternetCFS')){
var fastInternet = document.getElementById('fastInternetCFS');
var idtvIndex = 0;
var p3trIndex = 0;
for ( var i = 0; i < fastInternet.options.length; i++) {
var value = fastInternet.options[i].value;
if(value == 'IDTV'){
//need to hide this
}
else if(value == 'P3TR'){
/need to hide this
}
}
}
}
} catch (e) {}
}