I am trying to create a program that will extract information from a website that my brothers' school uses to display your current grades.
I basically have everything set up, but I have problems with something.
I use WebBrowser for this, by the way, I know that I have to use WebRequests.
There is a summary (drop-down menu) that will be populated with a list of students who are registered with the parent account.
However, students are not loaded into the list box until a button is pressed.
I tried to make WebBrowser just click the combo box, but I could not get this to work.
Here is the HTML for Combobox:
<a id="droplist" tabindex="1" href="#students" class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all ui-state-loading">SELECT A STUDENT<span class="ui-icon ui-icon-triangle-1-s"></span></a>
Here is the HTML for the DIV that contains the names until they are loaded:
<div id="students" class="hidden"> <ul></ul> </div>
Here is the HTML for the DIV that contains the names in the combo box at startup:
<div id="students" class="hidden"> <ul><li><a href="#" id="17743">Aaron P. Hailey </a></li><li><a href="#" id="16265">Aidan C. Hailey </a></li><li><a href="#" id="19305">Ethan B. Hailey </a></li></ul> </div>
I suppose I will have to send an additional request for information or something like that, but can anyone think of a convenient workaround?
I am a noob for VB, so I have problems with this.
Thank you let me know if you need more information!