113
rated 0 times
[
119]
[
6]
/ answers: 1 / hits: 8069
/ 2 Years ago, mon, may 23, 2022, 12:00:00
I have an HTML form with multiple inputs and a submit button. I created an eventlistener on the form that listens for 'submit' events. This passes a SubmitEvent into the callback function.
What I'm wondering, is there a getter or quick object property that can take in the input name (AKA input[name="XYZ"] and return what the input's value was at the time of submission?
More From » html