Skip to content

Comment on Brut: A New Web Framework for Rubyparent

Comments

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.

Are you perhaps using the button name/value for something? Havent tested but i suspect that submit() does not pass that right?

Yep that's one reason. I make heavy use of that.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.