Re: how to click at a option programatically



mnachtvogel@xxxxxxxxx wrote:
> I thought this should be straigth forward, but it does not work:
> Having a drop down combo box in a html page I want to select an option
> and click on it programatically.

Select a different option using select.selectedIndex property, then fire
onchange event programmatically with fireEvent() method.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: Modify html before it is put in clipboard
    ... FilterDataObject is only called when pasting from clipboard into HTML ... but not the other way round. ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Get HTML text from IHTMLDocument2
    ... <HTML> ... tag from IHTMLDocument2? ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.win32.programmer.ole)
  • Re: Send Event to JavaScript from ActiveX
    ... and I need to implement event triggering within my html page. ... With sufficient thrust, pigs fly just fine. ... -- RFC 1925 ...
    (microsoft.public.vc.atl)
  • Re: File + Folder Links
    ... NickP wrote: ... It's hardcoded to HTML. ... With sufficient thrust, pigs fly just fine. ... -- RFC 1925 ...
    (microsoft.public.vc.language)