in reply to Re^5: select fields and mechanize
in thread select fields and mechanize
Alright
I do the following
$gear_box = "Manual"; $mech->select("cargear", "$gear_box");
so I select the manual option of a select field and my intention is to send the value 1 to the server.
the html code for the select field is this
<select name="cargear" id="cargear" class="form_widt h"> <option value='0' >All</option> <option value='2' >Automatic</option> <option value='4' >No gear</option> <option value='1' >Manual</option>
So I whant to
select the "Manual" and send the value '1' to the server.
This happens in version 1.34 of Mechanize
In version 1.60 hapens the folowing
Selecting the "Manual" will send the value "Manual" to the server??
Why is the diference? Is it samething that have changed or is it a bug? How can I do what i have done in version 1.34 in the newer version 1.60?
Kvantum
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: select fields and mechanize
by ikegami (Patriarch) on Feb 12, 2010 at 08:16 UTC | |
|
Re^7: select fields and mechanize
by Anonymous Monk on Feb 12, 2010 at 07:59 UTC | |
by Kvantum (Initiate) on Feb 21, 2010 at 19:26 UTC | |
by Kvantum (Initiate) on Feb 21, 2010 at 19:28 UTC | |
|
Re^7: select fields and mechanize
by Kvantum (Initiate) on Feb 13, 2010 at 06:13 UTC |