I'm currently using jsoup to parse a HTML document. I've loaded it into a Document by using
This in itself returns three elements in the ele list
<li class="second-col"> <label for="ctl00_Content_ctl00_ddlAirline" id="ctl00_Content_ctl00_lblAirline">Airline</label> <select name="ctl00$Content$ctl00$ddlAirline" id="ctl00_Content_ctl00_ddlAirline"> <option selected="selected" value="">Any</option> <option value=""></option> <option value="Aer Lingus">Aer Lingus</option> <option value="Air Canada Aca">Air Canada Aca</option>...............
and so on.
I'm looking to select the first element of the list, and parse the <option value> into an ArrayList<
String>.
Anyone know how I can do this?