News for hackers. Stuff that matters.
Re:Don’t name your input elements ‘action’ or ‘submit’ by mantrax5 on Wednesday May 07, 2014 @11:35AM (#7710731)
The interesting thing is I have "action" and "submit" name inputs in every single form I've ever coded.

And I also .submit() forms via JS.

And I never had this issue...

Re:Don’t name your input elements ‘action’ or ‘submit’ by yahelc on Wednesday May 07, 2014 @11:52AM (#7710837)
Very easy to replicate:

With id="submit", throws a "object is not a function" error. http://jsfiddle.net/nbkHs/

Without, submits just fine: http://jsfiddle.net/B8CV2/1/