Border color changing for Autocomplete widget in CSS.
I want to highlight autocomplete widget border colour based on few conditions.
ex:
if(cond==true) Output="";
else Output="ui-autocomplete-input";
css code:
.ui-autocomplete-input { border: 1px solid red !important; }
This css code showing border in red for both true and false conditions.
What is the correct code??

