How to find an element by name using Nokogiri?

Posted by Janak on Stack Overflow See other posts from Stack Overflow or by Janak
Published on 2010-04-02T06:31:17Z Indexed on 2010/04/02 7:23 UTC
Read the original article Hit count: 329

Filed under:
|
|
<input type="Checkbox" checked="" name="new">

if I have the above html in a document, how would I find it by searching for its name attribute?

Edit 1: Clarified that I was looking for a solution using Nokogiri

© Stack Overflow or respective owner

Related posts about nokogiri

Related posts about xpath