Skip to content

Instantly share code, notes, and snippets.

@devbyray
Created September 15, 2022 07:35
Show Gist options
  • Save devbyray/4acbe42bf88520d1f4df29e43e91db9c to your computer and use it in GitHub Desktop.
Save devbyray/4acbe42bf88520d1f4df29e43e91db9c to your computer and use it in GitHub Desktop.
form.addEventListener("submit", function (event) {
//logic for when the form is submitted
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment