Brian McGowan

Greenhorn
+ Follow
since Aug 29, 2014
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Brian McGowan

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?