<select name="title" id="title"><option value="-1"></option>
<option value="26">Mr </option>
<option value="27">Mrs </option>
<option value="28">Miss </option>
</select>

How would I write a statement to do something if value 26 exists?

I tried this and it didn't work:
if b.select(:id, title).include?('26')
        <do something>
end

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to