Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
rorylaitila
8mo ago
0 comments
Share
Yeah, it's escaping me at the moment all of the reasons, but calling .submit() on a form element doesn't exactly have all of the behaviors as calling .click() on a button element in a form, particularly multiple buttons in a form.
0 comments
default
newest
oldest
hapidjus
8mo ago
Are you perhaps using the button name/value for something? Havent tested but i suspect that submit() does not pass that right?
rorylaitila
OP
8mo ago
Yep that's one reason. I make heavy use of that.
j
/
k
navigate · click thread line to collapse