I want to set/select the text baed upon the texts I choose. e.g I have the following code that is not selecting the text but instead is adding another line to the option.

I have a dropdownlist with the following:

```
<select id="fruit">    <option value="">select here</option>    <option value="1">apple</option>    <option value="2">pineapple</option>    <option value="3">orange</option><select>

 $("#myList option:selected").text("pineapple");
 $("#myList option:selected").text("select here");

```

How can I select the option based upon the text?