title: continued example - cannot find watir element
body: <p>In <a href="https://stackoverflow.com/questions/29423800/cannot-click-html-element-with-watir">Cannot click html element with watir</a>, i was trying to click an element which gives me the row below:</p>
  
  <p><img src="https://i.stack.imgur.com/pDjNQ.jpg" alt="enter image description here"></p>
  
  <p>I am not able to find the three dropdown lists which you see in the image above.
  How do I do it ? Each time, the id of the dropdown elements changes.</p>
  
  <p>For example, the middle one html code is:</p>
  
  <pre><code>&lt;td&gt;
  &lt;select id="filtersJob6_intrinsic_enumOperator" name="filtersJob6_intrinsic_enumOperator" onchange="if(top.document.getElementById('filtersJob6_intrinsic_enumOperator').value=='isNull'||top.document.getElementById('filtersJob6_intrinsic_enumOperator').value=='isNotNull'){top.document.getElementById('filtersJob6_intrinsic_operand1Container').style.display='none';}else{top.document.getElementById('filtersJob6_intrinsic_operand1Container').style.display='inline';}"&gt;
  &lt;option value="equals" selected="selected"&gt;equals&lt;/option&gt;
  &lt;option value="notEqual"&gt;not equals&lt;/option&gt;
  &lt;option value="isNull"&gt;is not set&lt;/option&gt;
  &lt;option value="isNotNull"&gt;is set&lt;/option&gt;
  &lt;/select&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>The id <code>id="filtersJob6_intrinsic_enumOperator"</code> can have any number 4,7,6,5 etc.</p>
  
  <p>How do I make the watir find this element ?</p>
  
  <p><strong>EDIT -</strong> </p>
  
  <pre><code>Here is the code for the first dropdown:
  
  &lt;select id="filtersJob3_intrinsic_name" name="filtersJob3_intrinsic_name" onchange="var shown=0;top.document.getElementById('filtersJob3_intrinsic_operator').style.display='none';top.document.getElementById('filtersJob3_intrinsic_operand1').style.display='none';top.document.getElementById('filtersJob3_intrinsic_operand2').style.display='none';top.document.getElementById('filtersJob3_intrinsic_dateOperator').style.display='none';top.document.getElementById('filtersJob3_intrinsic_enumOperator').style.display='none';top.document.getElementById('filtersJob3_intrinsic_listOperator').style.display='none';top.document.getElementById('filtersJob3_intrinsic_uuidOperator').style.display='none';top.document.getElementById('filtersJob3_intrinsic_datehelp1').style.display='none';top.document.getElementById('filtersJob3_intrinsic_datehelp2').style.display='none';top.document.getElementById('filtersJob3_intrinsic_operand1abortStatus').style.display='none';top.document.getElementById('filtersJob3_intrinsic_operand1outcome').style.display='none';top.document.getElementById('filtersJob3_intrinsic_operand1priority').style.display='none';top.document.getElementById('filtersJob3_intrinsic_operand1status').style.display='none';top.document.getElementById('filtersJob3_intrinsic_operand1errorCode').style.display='none';if(top.document.getElementById('filtersJob3_intrinsic_name').value=='abortStatus'){shown=1;top.document.getElementById('filtersJob3_intrinsic_enumOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1abortStatus').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2Container').style.display='none';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='outcome'){shown=1;top.document.getElementById('filtersJob3_intrinsic_enumOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1outcome').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2Container').style.display='none';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='priority'){shown=1;top.document.getElementById('filtersJob3_intrinsic_enumOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1priority').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2Container').style.display='none';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='status'){shown=1;top.document.getElementById('filtersJob3_intrinsic_enumOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1status').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2Container').style.display='none';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='errorCode'){shown=1;top.document.getElementById('filtersJob3_intrinsic_enumOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1errorCode').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2Container').style.display='none';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='jobId'){shown=1;top.document.getElementById('filtersJob3_intrinsic_uuidOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2Container').style.display='none';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='createTime'){shown=1;top.document.getElementById('filtersJob3_intrinsic_dateOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_datehelp1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_datehelp2').style.display='inline';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='finish'){shown=1;top.document.getElementById('filtersJob3_intrinsic_dateOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_datehelp1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_datehelp2').style.display='inline';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='modifyTime'){shown=1;top.document.getElementById('filtersJob3_intrinsic_dateOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_datehelp1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_datehelp2').style.display='inline';}if(top.document.getElementById('filtersJob3_intrinsic_name').value=='start'){shown=1;top.document.getElementById('filtersJob3_intrinsic_dateOperator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_datehelp1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_datehelp2').style.display='inline';}if(!shown){top.document.getElementById('filtersJob3_intrinsic_operator').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operator').onchange();top.document.getElementById('filtersJob3_intrinsic_operand1').style.display='inline';top.document.getElementById('filtersJob3_intrinsic_operand2').style.display='inline';}"&gt;
  
    &lt;option value="abortStatus" selected="selected"&gt;Abort Status&lt;/option&gt;
    &lt;option value="abortedBy"&gt;Aborted By&lt;/option&gt;
    &lt;option value="createTime"&gt;Create Time&lt;/option&gt;
    &lt;option value="directoryName"&gt;Directory Name&lt;/option&gt;
    &lt;option value="elapsedTime"&gt;Elapsed Time&lt;/option&gt;
    &lt;option value="errorCode"&gt;Error Code&lt;/option&gt;
    &lt;option value="errorMessage"&gt;Error Message&lt;/option&gt;
    &lt;option value="finish"&gt;Finish Date &amp;amp; Time&lt;/option&gt;
    &lt;option value="credentialName"&gt;Impersonation Credential&lt;/option&gt;
    &lt;option value="jobId"&gt;Job ID&lt;/option&gt;
    &lt;option value="jobName"&gt;Job Name&lt;/option&gt;
    &lt;option value="lastModifiedBy"&gt;Last Modified By&lt;/option&gt;
    &lt;option value="launchedByUser"&gt;Launched By User&lt;/option&gt;
    &lt;option value="licenseWaitTime"&gt;License Wait Time&lt;/option&gt;
    &lt;option value="liveProcedure"&gt;Live Procedure&lt;/option&gt;
    &lt;option value="liveSchedule"&gt;Live Schedule&lt;/option&gt;
    &lt;option value="modifyTime"&gt;Modify Time&lt;/option&gt;
    &lt;option value="outcome"&gt;Outcome&lt;/option&gt;
    &lt;option value="owner"&gt;Owner&lt;/option&gt;
    &lt;option value="priority"&gt;Priority&lt;/option&gt;
    &lt;option value="procedureName"&gt;Procedure Name&lt;/option&gt;
    &lt;option value="projectName"&gt;Project Name&lt;/option&gt;
    &lt;option value="resourceWaitTime"&gt;Resource Wait Time&lt;/option&gt;
    &lt;option value="runAsUser"&gt;Run As User&lt;/option&gt;
    &lt;option value="scheduleName"&gt;Schedule Name&lt;/option&gt;
    &lt;option value="start"&gt;Start Date &amp;amp; Time&lt;/option&gt;
    &lt;option value="stateName"&gt;State Name&lt;/option&gt;
    &lt;option value="status"&gt;Status&lt;/option&gt;
    &lt;option value="totalWaitTime"&gt;Total Wait Time&lt;/option&gt;
    &lt;option value="workspaceWaitTime"&gt;Workspace Wait Time&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>