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?
In reply to Re: HTML::Form getting button by id
by Corion
in thread HTML::Form getting button by id
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |