jump to:all–mastodon–bluesky–lemmy–lobsters–dev–stack–wiki–rss–hn
wwebbit
view: | | |

Tech / everything · hot matching “html”

2 shown · updated 3m ago · read only
  1. 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