Not sure if this is the right forum.
I want to Simulating a dropdown event for a select object in html.
First I thought something like this could do,

For j = 0 To mtag.Options.length - 1
If InStr(1, mtag.Options(j).innerText, "XXXX") > 0 Then
mtag.Item(j).Selected = True
Exit For
End If
Next j

It turns out a dropdown event never happen although the item in the select object is selected.

Anyone have an idea how to do this?
Thanks in advance