[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Get input type in mechanize

Rod Dik

6/9/2009 8:02:00 PM

Hello, when looping through form.fields, how can I find the type of the
current field? Docs here
http://mechanize.rubyforge.org/mechanize/WWW/Mechanize/Form/...
say "following input tags found in a form: text, password, hidden, int,
textarea" and I want to know exactly whether input is a text, hidden or
textarea field. How can I do that? Thanks
--
Posted via http://www.ruby-....