Class Index | File Index

Classes


Class BTM.Form.Select.Dependant

Dependant Drop List object
Defined in: form.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BTM.Form.Select.Dependant(elements, options)
Automatically updates the Options available in each "child" Select when a "Parent" Select is changed
Field Summary
Field Attributes Field Name and Description
 
The data extracted from the Select elements
 
Options Object
 
The Select elements
Method Summary
Method Attributes Method Name and Description
 
display(index)
Display the relevant Options for each Select starting at specified index
Class Detail
BTM.Form.Select.Dependant(elements, options)
Automatically updates the Options available in each "child" Select when a "Parent" Select is changed
Parameters:
{HTMLElement[]|String[]} elements
Array of element IDs or element references to bind to
{Object} options Optional
options for the Dependant Drop List
{Boolean} options.sort Optional, Default: true
flag to sort the Options in each Destination Select after populating it
Field Detail
data
The data extracted from the Select elements

options
Options Object

selectElements
The Select elements
Method Detail
display(index)
Display the relevant Options for each Select starting at specified index
Parameters:
{Number} index Optional, Default: 0
the Select element to start from (starting at 0)

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