Reaction on HTMLViewer

Hi everyone
im sending selection to a dropdownmenu via HTMLViewer to form in webpage

HTMLViewer1.ExecuteJavaScript"document.getElementsByName('field')[0].selectedIndex="+VC02field+";"

BUT the selection should trigger reaction on page
And its not working… i guess is by the way i sending selection, the webpage doesn’t recognize it like a user interaction
SO Is there a way to fake a click on dropdown menu while at retain my selection
p.s… i’v already try tab to get off focus… its doesn’t work either
thanks

no the click event doesn’t work

HTMLViewer1.ExecuteJavaScript"document.getElementsByName('field')[0].click();"

i have to find a way to shake up the dropdown menu
any idea
thanks

Do you have an “onchange” JavaScript event for your drop down menu?

It’s a external website
i don’t have any control on it
By the way it react, i assume yes its “onchange” event

Ok i understand
yes “onchange” instead of click
make all difference
I didn’t thought that the “onchange” could be a action
i just seen it from server side only
Thanks

Thanks
shao sean
You’re very helpful for HTMLViewer issue