Class Index | File Index

Classes


Class InputElement

The generic input element, from which others are derived
Defined in: inputElement.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
appendTo(parent)
Appends the derived object to a DOM node
 
Disables the object
 
Enables the object
 
onChange(listener)
Attaches an onchange handler to the object
 
onClick(listener)
Attaches an onclick handler to the object
Class Detail
InputElement(tag)
Parameters:
tag
Method Detail
appendTo(parent)
Appends the derived object to a DOM node
Parameters:
{DOM element} parent
The DOM node to which this is added

disable()
Disables the object

enable()
Enables the object

onChange(listener)
Attaches an onchange handler to the object
Parameters:
{function} listener
The event listener to add

onClick(listener)
Attaches an onclick handler to the object
Parameters:
{function} listener
The event listener to add

Documentation generated by JsDoc Toolkit 2.3.2 on Fri Mar 26 2010 16:00:14 GMT-0700 (PDT)