KDE 4.5 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

HTMLFormElement Class Reference

from PyKDE4.khtml import *

Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM

Detailed Description

The FORM element encompasses behavior similar to a collection and an element. It provides direct access to the contained input elements as well as the attributes of the form element. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-FORM"> FORM element definition in HTML 4.0.


Methods

 __init__ (self)
 __init__ (self, DOM.HTMLFormElement other)
 __init__ (self, DOM.Node other)
DOM.DOMString acceptCharset (self)
DOM.DOMString action (self)
DOM.HTMLCollection elements (self)
DOM.DOMString enctype (self)
long length (self)
DOM.DOMString method (self)
DOM.DOMString name (self)
 reset (self)
 setAcceptCharset (self, DOM.DOMString a0)
 setAction (self, DOM.DOMString a0)
 setEnctype (self, DOM.DOMString a0)
 setMethod (self, DOM.DOMString a0)
 setName (self, DOM.DOMString a0)
 setTarget (self, DOM.DOMString a0)
 submit (self)
DOM.DOMString target (self)

Method Documentation

__init__ (   self )
__init__ (  self,
DOM.HTMLFormElement  other
)
__init__ (  self,
DOM.Node  other
)
DOM.DOMString acceptCharset (   self )

List of character sets supported by the server. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accept-charset"> accept-charset attribute definition in HTML 4.0.

DOM.DOMString action (   self )

Server-side form handler. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-action"> action attribute definition in HTML 4.0.

DOM.HTMLCollection elements (   self )

Returns a collection of all control elements in the form.

DOM.DOMString enctype (   self )

The content type of the submitted form, generally "application/x-www-form-urlencoded". See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-enctype"> enctype attribute definition in HTML 4.0.

long length (   self )

The number of form controls in the form.

DOM.DOMString method (   self )

HTTP method used to submit form. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-method"> method attribute definition in HTML 4.0.

DOM.DOMString name (   self )

Names the form.

reset (   self )

Restores a form element's default values. It performs the same action as a reset button.

setAcceptCharset (  self,
DOM.DOMString  a0
)

see acceptCharset

setAction (  self,
DOM.DOMString  a0
)

see action

setEnctype (  self,
DOM.DOMString  a0
)

see enctype

setMethod (  self,
DOM.DOMString  a0
)

see method

setName (  self,
DOM.DOMString  a0
)

see name

setTarget (  self,
DOM.DOMString  a0
)

see target

submit (   self )

Submits the form. It performs the same action as a submit button.

DOM.DOMString target (   self )

Frame to render the resource in. See the <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> target attribute definition in HTML 4.0.

  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal