IE automation: able to change dropdown list value but webpage doesn't update
The webpage: https://www.avanzabank.se/aktier/lista
I want it to update when I change the value of the second dropdown list "Lista".
The list:
HTML Code:
<select id="list" class="list" name="listKey">
<option value="large_cap_se"></option>
<option value="mid_cap_se"></option>
<option value="small_cap_se"></option>
<option value="firstnorth_se"></option>
<option value="aktietorget"></option>
<option value="ngm_equity"></option>
<option value="ngm_mtf"></option>
<option value="inofficiella"></option>
<option value="xterna_listan"></option>
</select>
VBA-code:
[VBA]IE(0).Document.getElementById("list").SelectedIndex = 2
IE(0).Document.getElementById("list").FireEvent ("onchange")[/VBA]
I have also tried:
[VBA]IE(0).Document.getElementById("list").onchange[/VBA]
without success.