<select> <option value="Value 1">Apple</option> <option value="Value 2">Mango</option> <option value="Value 3">Grape</option> <option value="Value 4">Banana</option> </select> And I have String "Grape" and the result output should be like this.
<select> <option value="Value 1">Apple</option> <option value="Value 2">Mango</option> <option value="Value 4">Banana</option> </select> How to do that?