Display the values in the console log when Submit button is clicked (stackoverflow.com)stack
14 points by Catalin Dumitru Popa in stackoverflow.com · 4y ago · stack comments
I can't seem to make this work. Beginer here. I want to display in the console the values of first and last name. html `<form id="form1" onsubmit="getFormValue()"> First name: <input type="text" name="fname" value="David" /><br /> Last name: <input type="text" name="lname" value…
filed under javascript