search for: emptyelem

Displaying 2 results from an estimated 2 matches for "emptyelem".

2007 Mar 15
0
Getting info from an Hpricot::Elem
How about getting the name and value from this element object: irb(main):079:0> elements[1] => {emptyelem <input name="SNMPTrustedHost" type="hidden" value="1.2.3.4">} irb(main):080:0> elements[1].class => Hpricot::Elem If I can do that, then I''m home free. I''ve been looking at the Hpricot docs, but I''m not seeing what I need. Sho...
2007 Mar 15
0
SOLVED: Getting info from an Hpricot::Elem
...From: barsalou <barjunk at attglobal.net> Reply-To: barsalou <barjunk at attglobal.net> Subject: Getting info from an Hpricot::Elem To: mechanize-users at rubyforge.org How about getting the name and value from this element object: irb(main):079:0> elements[1] => {emptyelem <input name="SNMPTrustedHost" type="hidden" value="1.2.3.4">} irb(main):080:0> elements[1].class => Hpricot::Elem If I can do that, then I''m home free. I''ve been looking at the Hpricot docs, but I''m not seeing what I need. Sho...