# Trouble with a dropdown menu on a web page (Watir?)

**URL:** <https://www.ruby-forum.com/t/trouble-with-a-dropdown-menu-on-a-web-page-watir/152996>\
**Category:** Ruby\
**Created:** [November 10, 2008, 11:47pm UTC](https://www.ruby-forum.com/t/trouble-with-a-dropdown-menu-on-a-web-page-watir/152996 "2008-11-10T23:47:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chutenro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@chutenro](https://www.ruby-forum.com/u/chutenro)\
**Post date:** [November 10, 2008, 11:47pm UTC](https://www.ruby-forum.com/t/trouble-with-a-dropdown-menu-on-a-web-page-watir/152996/1 "2008-11-10T23:47:03Z")

</div>

I’m trying to select two items in two dropdown menus that are  
semi-connected in the page.

When you select an option on the first menu it changes the options in  
the second menu. The problem is that when I directly send the selection  
in the first menu, like:

ie.select\_list(:name, “form-sub-main”).select “Hamburger”

The second menu doesn’t change. It stays blank as though I had never  
selected anything, so I can’t send the next command to the second menu.

Any ideas? I thought I would send keystrokes to the first menu or  
something as that always works, but I don’t know the syntax to set that  
up.

Thanks,

N
