Mozilla::DOM::HTMLFormElement
Mozilla::DOM::HTMLFormElement is a wrapper around an instance of Mozilla's nsIDOMHTMLFormElement interface. This class inherits from HTMLElement.
* The nsIDOMHTMLFormElement interface is the interface to a [X]HTML * form element. * * For more information on this interface please see * http://www.w3.org/TR/DOM-Level-2-HTML/ * * @status FROZEN
Pass this to QueryInterface.
$acceptcharset (string)
$action (string)
$enctype (string)
$method (string)
$name (string)
$target (string)
$elements is a Mozilla::DOM::HTMLCollection.
In list context, returns a list of Mozilla::DOM::Node. (See DOM 2 HTML spec.) I'm guessing you can QueryInterface this to HTMLElement, but I leave that to you:
$iid = Mozilla::DOM::HTMLElement->GetIID; $htmlelement = $node->QueryInterface($iid);
Number of elements returned by GetElements.
Reset inputs to their default values.
Submits the <form>, but doesn't trigger the onSubmit event.
Mozilla::DOM
Copyright (C) 2005-2007, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.
To install Mozilla::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mozilla::DOM
CPAN shell
perl -MCPAN -e shell install Mozilla::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.