NAME

HTML::DOM::Element::Button - A Perl class for representing 'button' elements in an HTML DOM tree

SYNOPSIS

  use HTML::DOM;
  $doc = HTML::DOM->new;
  $elem = $doc->createElement('button');

  $elem->value('new-value') # set attribute
  $elem->name;              # get attribute
  $elem->tagName;
  # etc.

DESCRIPTION

This class implements 'button' elements in an HTML::DOM tree. It implements the HTMLButtonElement DOM interface and inherits from HTML::DOM::Element (q.v.).

METHODS

In addition to those inherited from HTML::DOM::Element and its superclasses, this class implements the following DOM methods (see the DOM spec. for descriptions):

form
accessKey
disabled
name
tabIndex
type
value

SEE ALSO

HTML::DOM

HTML::DOM::Element

HTML::DOM::Element::Form