Returns the value of the specified target with the specified type. The
value is returned as a number if the valueAsNumber property
returns a valid number, a Date if the valueAsDate property
is a valid Date (not null),
a boolean if the input is a checkbox or radio type, otherwise is returned as a string.
If the element is a select element, it returns an empty string
Returns the value of the specified
targetwith the specified type. The value is returned as a number if thevalueAsNumberproperty returns a valid number, a Date if thevalueAsDateproperty is a valid Date (notnull), a boolean if the input is acheckboxorradiotype, otherwise is returned as astring.If the element is a
selectelement, it returns an empty string