Thank you so much Mark! I’ll try the code as soon as I can… Too much work here :S

 

Cheers!

Rodrigo Julian Martin

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark
Sent: Martes, 18 de Abril de 2006 02:53 p.m.
To: [email protected]
Subject: Re: [Wtr-general] Question about Select-Lists

 

Try something like this to get all select_list contents:

 

    myList = $ie.select_list( :name, 'select1').getAllContents

 

If you wanted to select everything in the list you could do this:

 

   for lst in myList

      $ie.selectBox( :name, 'select1').select("#{lst}")

   end

 

Hope this helps,  

 

--Mark

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Julian Martin
Sent: Tuesday, April 18, 2006 10:37 AM
To: [email protected]
Subject: [Wtr-general] Question about Select-Lists

 

Hello!

 

I am trying to make a code that could scan all the items of a Select-List, in order to store them and be able to validate data. I tried a couple of things like working with

the each method for the options, or with GetSelected Items, but I can’t find the way… Is there a simple way?

 

Thank you so much for your help!

Cheers

 

Rodrigo Julian Martin.

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

Reply via email to