in reply to HTML::Form getting button by id
The documentation for ->find_input in HTML::Form says:
This method is used to locate specific inputs within the form. All inputs that match the arguments given are returned. In scalar context only the first is returned, or undef if none match.
If $selector is specified, then the input's name, id, class attribute must match. A selector prefixed with '#' must match the id attribute of the input. A selector prefixed with '.' matches the class attribute. A selector prefixed with '^' or with no prefix matches the name attribute.
How would you phrase it so that it is more clear how to search an input by its id attribute?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTML::Form getting button by id
by mhearse (Chaplain) on Jul 09, 2012 at 19:30 UTC | |
by Corion (Patriarch) on Jul 09, 2012 at 19:43 UTC | |
by mhearse (Chaplain) on Jul 09, 2012 at 20:28 UTC |