Advertisement
topherbones

OnClick Form Submit (One Line)

Jan 4th, 2022
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. To submit a form based on the id, one line.
  2.  
  3. onClick="document.getElementById('FORMID').submit();"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement