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
In reply to Re^6: select fields and mechanize
by Kvantum
in thread select fields and mechanize
by Kvantum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |