Class Index | File Index

Classes


Namespace BTM.Form

Form and Form Element functionality
Defined in: form.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
BTM.Form.getValue(element)
Get the value from a form element.
<static>  
BTM.Form.makeValidator(element)
Convenience Function to create a Form Validator
Namespace Detail
BTM.Form
Requires:
BTM.DOM
Method Detail
<static> {String|String[]} BTM.Form.getValue(element)
Get the value from a form element. If element is a Multi-Select, all selected values are returned in an Array
Parameters:
{HTMLElement|String} element
element ID or element reference to the form element
Returns:
{String|String[]} the element value. Multi-Select elements return an Array of selected option values

<static> {BTM.Form.Validator} BTM.Form.makeValidator(element)
Convenience Function to create a Form Validator
Parameters:
{HTMLElement|String} element
element ID or element reference to Form to be validated
Returns:
{BTM.Form.Validator} new Form Validator object
See:
BTM.Form.Validator

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Feb 03 2009 04:12:53 GMT+1100 (EST)