On 5/29/07, sapna <[EMAIL PROTECTED]> wrote:

Please let me know how to store in a variable the content of the list box
and use that variable to compaire with the default value.


Sapna,

It would help if you post relevant html snippet when posting question. For
example, I do not know what do you mean by list box. I will assume that you
have this

<select>
 <option value ="volvo">Volvo</option>
 <option value ="saab">Saab</option>
</select>

and you want to get contents. You can do it like this:

ie.select_list(:index, 1).getAllContents
=> ["Volvo", "Saab"]

Zeljko
--
ZeljkoFilipin.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to