We're trying to write a JS function to reset multiple field values of multiple field types and need to be able to query the input field type so that we can call the appropriate function.
Ex. For a Select field we would need ca_fdUnselectOption() ,
For a Checkbox we would need ca_fdUnselectCheckBox() ,
Since the input to our custom function would only be the actual field id, we would need to be able to query the type of field that it references in order to call the appropriate function.