Jump to content

Recommended Posts

Hi

I really don't know javascript much at all but have a small one-off requirement I hope someone can help with.

I'm automating data entry into a website via geckofx in vb.net. I an do almost all of what I need to in terms of adding text to the various fields on the page, but I can't trigger a function which fires after a drop-down box is selected. I can enter text in the box, but that doesn't trigger the function.

I thought it might be something like:
 

GeckoWebBrowser1.Navigate("javascript:void( document.getElementById('DDLStatus').change () ) ")

.. but this doesn't work (DDLStatus is name of dropdown).

Could anyone give me a quick pointer on this?

Thanks!
 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...