BrentD has asked for the wisdom of the Perl Monks concerning the following question:
The Javascript it links to looks like this:<select name="jumpMenu2" id="jumpMenu2" onchange="MM_jumpMenu('parent' +,this,0)"> <option selected="selected">Choose One...</option> <option value="docs/foreclosure/2018/June/Lots 17 & 18 Dyer Ad +dition Rockdale June 5, 2018.pdf">Lots 17 & 18 Dyer Addition Rock +dale June 5, 2018</option> <option value="docs/foreclosure/2018/June/Lot 8 Blk 4 Revised Dyer + Addition 6-5-2018.pdf">Lot 8 Blk 4 Revised Dyer Addition Rockdale Ju +ne 5, 2018</option> <option value="docs/foreclosure/2018/June/0.21 acre tract, Daniel +Monroe Survey June 5, 2018.pdf">0.21 acre tract, Daniel Monroe Survey + June 5, 2018</option> <option value="docs/foreclosure/2018/June/Lot 8 Blk 3 Westwood Add +itiion Rockdale June 5, 2018.pdf">Lot 8 Blk 3 Westwood Additiion Rock +dale June 5, 2018</option> <option value="docs/foreclosure/2018/June/25 acre tract June 5, 20 +18.pdf">25 acre tract June 5, 2018</option> <option value="docs/foreclosure/2018/June/Lot 1 Blk 121 Rockdale 6 +-5-2018.pdf">Lot 1 Blk 121 Rockdale June 5, 2018</option> <option value="docs/foreclosure/2018/June/Lot 2 & West half Lo +t 4, Bluebird Heights, Sec 1, Rockdale.pdf">Lot 2 & West half Lot + 4, Bluebird Heights, Sec 1, Rockdale June 5, 2018</option> <option value="docs/foreclosure/2018/June/6,300 square ft tract Da +niel Monroe Survey 6-5-2018.pdf">6,300 square ft tract Daniel Monroe +Survey June 5, 2018</option> <option value="docs/foreclosure/2018/July/105 N Johnson.pdf">105 N + Johnson St. T'dale July 3, 2018</option> </select>
so, for example, I can go to the first document in the list by going to http://www.website.com/docs/foreclosure/2018/June/Lots 17 & 18 Dyer Addition Rockdale June 5, 2018.pdf in my browser.<script type="text/javascript"> function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+" +'"); if (restore) selObj.selectedIndex=0; } </script>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Scrape Select Options from Web Page
by haukex (Archbishop) on Jun 05, 2018 at 07:23 UTC | |
by BrentD (Sexton) on Jun 06, 2018 at 21:30 UTC | |
|
Re: Scrape Select Options from Web Page
by Corion (Patriarch) on Jun 05, 2018 at 08:22 UTC | |
|
Re: Scrape Select Options from Web Page
by NetWallah (Canon) on Jun 05, 2018 at 00:01 UTC | |
|
Re: Scrape Select Options from Web Page
by haukex (Archbishop) on Jun 05, 2018 at 08:28 UTC | |
by BrentD (Sexton) on Jun 06, 2018 at 20:49 UTC | |
by haukex (Archbishop) on Jun 06, 2018 at 21:35 UTC |