What fresh hell is THIS now? - Patrick Lauke
Would the better solution be adding 'display: none' to it?
if there is no user interaction i think yes
I’ve been getting into formaction
and formmethod
attributes lately which I find fascinating how they can be used to do things like send form data to different syncronous endpoints without javascript, but when I go to do my progressive enhancement (using form onSubmit event instead of click listeners on buttons) I’ve been running into a snag.
TL;DR
I wish the form onSubmit event would tell you which button triggered the event.
Anyone else run into anything like this?