in reply to Re^4: select fields and mechanize
in thread select fields and mechanize
try version 1.34, and then 1.6
I intend to, as soon as you provide something to try.
It very easy
It's been 8 hours since you said that. Did you run into some problems?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: select fields and mechanize
by Kvantum (Initiate) on Feb 12, 2010 at 05:56 UTC | |
Alright I do the following
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
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 | [reply] [d/l] [select] |
by ikegami (Patriarch) on Feb 12, 2010 at 08:16 UTC | |
Thanks to the anonymous monk for his work. Unfortunately, I get cargear=1 too.
At the moment, the only conclusion we can draw is still "there's a bug in the code the you didn't show us". Still waiting for a minimal, runnable snippet that demonstrates the problem. We can't help you if you don't give us the info we need to help you! | [reply] [d/l] |
by Anonymous Monk on Feb 12, 2010 at 07:59 UTC | |
Obviously it works perfectly as advertised/expected for me :) | [reply] [d/l] |
by Kvantum (Initiate) on Feb 21, 2010 at 19:26 UTC | |
| [reply] | |
by Kvantum (Initiate) on Feb 21, 2010 at 19:28 UTC | |
I've worked a litle more on this problem. It seams that utf8 encoding doens't work correct. The select fields and fields i'm working in are in greek. It looks like it doen't recognize the options in selectfields and the content in fields are transmited with strange chars in them. try with this options below in the test provided by you and you will see. option 1 - Δεν Εχει option 2 - Μ/Τ Μηχανικό κιβώτιο option 3 - Α/Τ Αυτόματο κιβώτιο Another strange thing is that before it worned when I tryed to select an option that didn't existed in the select feiled. Now it doesn't. /Kvantum | [reply] |
by Kvantum (Initiate) on Feb 13, 2010 at 06:13 UTC | |
| [reply] |