Get the value

The getValue method returns the input value (different for almost all inputs)

Where it is the example for the textInput():

getValue: function(el) {
  console.log($(el));
  return $(el).val();
}

Where:

  • el refers to the element holding the id attribute and recognized by the find method.
  • val() is extracting the value attribute