Željko Filipin
Wed, 18 Jul 2007 02:34:41 -0700
On 7/18/07, rvishnubhotla <[EMAIL PROTECTED]> wrote:
<option value="16"> Catalyst 6500</option>
Hi Radha,
There is ten spaces before "Catalyst 6500", that is why ie.select_list(:name,
"productId").select("Catalyst 6500") did not work.
I thought this would work, but it does not.
ie.select_list(:name, "productId").select(" Catalyst 6500")
Fortunately, both of this work.
ie.select_list(:name, "productId").select(/Catalyst 6500/)
ie.select_list(:name,
"productId").select("\240\240\240\240\240\240\240\240\240\240Catalyst 6500")
Zeljko
--
ZeljkoFilipin.com
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
- [Wtr-general] Unable to select an item using select_list rvishnubhotla
Re: [Wtr-general] Unable to select an item using select_list Željko Filipin