Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to access form values in react

handleSubmit = (event) => {
  event.preventDefault();
  console.log(event.target[0].value)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #form #values #react
ADD COMMENT
Topic
Name
2+4 =