_wf.getValues(<argument>)
Purpose
to get the value from any inputfield or fields. It handles radio's, checkboxes, selects, multiselects in a simular way.
WHY this function: This function was build especially for checkboxes and radio's that don't work very well with jquery's val() function. You need to search for checked attributes
// my function function
myTestFunction(arg){
echo "hello world";
}
// test run function
myTestFunction(arg);
Input
Type | Description |
---|---|
Argument | Jquery object(s) |
String |
Output
Type | Description |
---|---|
Array | It always outputs an array with all collected values from the elements. |