I guess the options in a select list should really be array-like:

ie.select_list(:id, 'whatever').select_first
 ie.select_list(:id, 'whatever').select_last
ie.select_list(:id, 'whatever').select[3] # select the 3 or 4th, ( 1 or 0 
indexing)



Paul



----- Original Message ----- 
From: "Tiffany Fodor" <[EMAIL PROTECTED]>
To: <wtr-general@rubyforge.org>
Sent: Friday, June 22, 2007 3:09 PM
Subject: Re: [Wtr-general] Select the first item in a list


> Yippee - it worked!  Thanks so much!
>
> Mama says kludgy is as kludgy does.  ;-)
>
> It's 3:00 Friday afternoon and my data loading test works now - nice way 
> to kick off a weekend!
>
> Many thanks to all for your help!
>
> -Tiffany
> _______________________________________________
> Wtr-general mailing list
> Wtr-general@rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to