getValue :: Form.Element

getValue(element) -> string | array

 

Returns the current value of a form control. A string is returned for most controls; only multiple select boxes return an array of values. The global shortcut for this method is $F().

 

 


Prototype API 1.5.0 - prototypejs.org