Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 8200
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: MARKSTOS [...] cpan.org
Requestors: bounce [...] johnhorner.nu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Mon, 1 Nov 2004 15:51:27 +1100
To: bug-WWW-Mechanize [...] rt.cpan.org
From: John Horner <bounce [...] johnhorner.nu>
Subject: select() method bug
I was working with WWW::Mechanize and came up with an error where it couldn't use select(). The form code looked like this: <select name="filter1" class="mttextinput"> <option value="" selected></option> <option value="Login Name">Login Name</option> <option value="Subject">Subject</option> <option value="Post">Post</option> </select> and select() would always fail on that form. I used the update_html() function to remove that first OPTION tag and after that it worked. What should I do now? I haven't tested whether it's empty values in OPTION tags or the combination of that and the SELECTED attribute. ------------------------------------------------------------ "Have You Validated Your Code?" John Horner (+612 / 02) 9333 2110 Senior Developer, ABC Online http://www.abc.net.au/ ------------------------------------------------------------
From: Andy Lester <andy [...] petdance.com>
Subject: Re: [cpan #8200] select() method bug
Date: Sun, 31 Oct 2004 23:01:58 -0600
To: bug-WWW-Mechanize [...] rt.cpan.org
RT-Send-Cc:
Show quoted text
> > <select name="filter1" class="mttextinput"> > <option value="" selected></option> > <option value="Login Name">Login Name</option> > <option value="Subject">Subject</option> > <option value="Post">Post</option> > </select> > > and select() would always fail on that form.
How exactly did it fail? -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance