<select id="list">
<option value="0">First</option>
<option value="1">Second</option>
<option value="2">Third</option>
</select>
For the above html content how do I make use of Jsoup to parse and get the text as
First Second Third
When I use
Document doc=Jsoup.parse(HTMLText);
String text=doc.text();
System.out.println(text);
I get something like this
FirstSecondThird