News for hackers. Stuff that matters.
Re:Ask YC: Your most interesting bugs / bug fixes? by jrockway on Friday June 13, 2008 @06:01PM (#217196)
This is pretty common. I used to name my submit buttons "submit", but when I started using Javascript to do the submission, I found that form.submit() didn't work everywhere. The reason is because form fields are accessed by form.field_name, and so the field data replaces the function stored in the "submit" slot. sigh.

There are no comments on this comment yet.