val
val() ⇒ string
val(value) ⇒ self
val(function(index, oldValue){ ... }) ⇒ self
Get or set the value of form controls. When no value is given, return
the value of the first element. For <select multiple>
, an array of values
is returend. When a value is given, set all elements to this value.