Class Index | File Index

Classes


Class BTM.Form.Text.Placeholder

Text field Placeholders
Defined in: form.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BTM.Form.Text.Placeholder(element, placeholderText)
Field Summary
Field Attributes Field Name and Description
 
The Input element
 
Indicates if placeholder text is showing
 
The placeholder text (false if none)
Method Summary
Method Attributes Method Name and Description
 
hide()
Hide the placeholder text
 
show()
Show the placeholder text
Class Detail
BTM.Form.Text.Placeholder(element, placeholderText)
Parameters:
{HTMLElement} element
element ID or element reference to initialise Placeholder on
{String} placeholderText Optional
overide the default Placeholder text (read from title attribute) for an Input
Field Detail
{HTMLElement} element
The Input element

{Boolean} placeholderActive
Indicates if placeholder text is showing

{String|Boolean} placeholderText
The placeholder text (false if none)
Method Detail
hide()
Hide the placeholder text

show()
Show the placeholder text

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