Hacker News new | ask | show | jobs
by mantrax5 4425 days ago
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...

1 comments

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/