Class DHTMLSuite.formUtil
Object
|
+--DHTMLSuite.formUtil
- class
DHTMLSuite.formUtil
Form submission
Demo: demo-form-validator.html
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0
Method Summary |
Object
|
areEqual(input1,input2)
Check if two form elements have the same value
|
Object
|
getFamily(el,formRef)
Return an array of elements with the same name
|
Object
|
getValue(formEl)
Return value of form element
|
Object
|
getValuesAsArray(formRef)
Return value of form as associative array
|
Object
|
hasFileInputs(formRef)
Does the form has file inputs?
|
DHTMLSuite.formUtil
DHTMLSuite.formUtil()
Parameters:
Object
- - formRef - Reference to form
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0
areEqual
Object areEqual(input1,input2)
Check if two form elements have the same value
Parameters:
Object
- input1 - Reference to form element
Object
- input2 - Reference to form element
getFamily
Object getFamily(el,formRef)
Return an array of elements with the same name
Parameters:
Object
- el - Reference to form element
Object
- formRef - Reference to form
getValue
Object getValue(formEl)
Return value of form element
Parameters:
Object
- formEl - Reference to form element
getValuesAsArray
Object getValuesAsArray(formRef)
Return value of form as associative array
Parameters:
Object
- formRef - Reference to form
hasFileInputs
Object hasFileInputs(formRef)
Does the form has file inputs?
Parameters:
Object
- formRef - Reference to form
Documentation generated by
JSDoc on Mon Oct 8 10:17:27 2007