I am currently working on downloading the data automatically on this page:
http://jcmramp.pjm.com/jcmRamp/ramp-data.jsp
I would like to somehow be able to control the URL so that, say, when I use the URL:
jcmramp.pjm.com/jcmRamp/ramp-data.jsp?directionSlt=1
the option selected for Location parameter would be PJM and when I do
jcmramp.pjm.com/jcmRamp/ramp-data.jsp?directionSlt=2
the option selected for Location parameter would be MISO
Here is the relevant section in the HTML code I can see:
<td colspan="4" align="top">
<label id="selectLbl" for="directionSlt" unselectable="on">Location:</label>
<select name="directionSlt" id="directionSlt" size="1" onchange="refresh()">
<option value="1">PJM
<option value="2">MISO
</select>
<label class="linkLabel" id="helpLbl" onmouseover="this.style.color='orange'" onmouseout="this.style.color='navy'" onclick="javascript:openHelpPage();"> - README (ramp viewer description document)</label>
<br><br>
</td>
However, this does not seem to work, no matter what I put for directionSlt, I get PJM, which is the default selection.
I am just wondering if there is any other way possible to manipulate the URL to change the option.
If not, is it possible for me to programatically (using VB.Net) to switch between different option?
(Note: the HTTP sign for the second and third URLs are removed as per website's restrictions)