Custom Form Elements for mootools

button 

:: Custom Form Elements for mootools > button > cfe.module.reset 0.9.4
Filters

Class cfe.module.reset extends cfe.module.submit

Provides replacement for input[type=reset]

Constructor

cfe.module.reset ( )

Properties

selector - string

CSS Selector to fetch "original" HTMLElements for replacement with this module

type - string

Describes the type of this element

Properties inherited from cfe.module.submit:

Properties inherited from cfe.generic:

Methods

createOriginal

HTMLElement createOriginal ( )
Method to programmatically create an "original" HTMLElement
Returns: HTMLElement
an input field of type "reset"

notifyReset

void notifyReset ( )
traverses all input, textarea, select elements in the current scope (form) and fires their change event to notify all listeners, the elements have beed resetted
Returns: void

setupOriginal

void setupOriginal ( )
adds an additional click event to the button to procede a form's reset
Returns: void

Configuration attributes inherited from cfe.module.submit:

Configuration attributes inherited from cfe.generic:

back to top | © 2007-2009 | custom form elements mediavrog project. | documentation build with YUI Doc from Yahoo!