Jump to content

Choose dropdowmmenu in Internet Explorer form autoit script


Joro
 Share

Recommended Posts

Hi,

I'm struggeling with the following:

In a website I have to fill in several items. For the normal fields I am able to fill in the information by using UDF "_IEGetObjByName".

But there is also a dropdown menu and I can't figure out how to choose te right information from it. I have searched the helpfile and the forum but I can't figure it out.

Here's an excerpt  from the html-page of the site where the dropdown-menu is mentioned:

<div class="col-md-10 padding-5">
 <div class="btn-group m-r">
  <input type="hidden" name="bedrijfId" class="bedrijfId" value="">
            <button type="button" data-toggle="dropdown" class="btn btn-sm btn-default dropdown-toggle" >
                 <span class="dropdown-label">Choose Company</span>
                 <span class="caret"></span>
            </button>
                  <ul class="dropdown-menu dropdown-select" >
                       <li  data-value="2" data-field="bedrijfId"><a href="#"><input type="radio" name="drp1" />Company 1</a></li>
                       <li  data-value="38" data-field="bedrijfId"><a href="#"><input type="radio" name="drp1" />Company 2</a></li>
                       <li  data-value="42" data-field="bedrijfId"><a href="#"><input type="radio" name="drp1" />Company 3</a></li>
                  </ul>
    </div>
</div>

 

How do I select one of the companies from the dropdown menu?

Thanks

Joost

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...