4 ms·
Very easy to replicate: With id="submit", throws a "object is not a function" error. http://jsfiddle.net/nbkHs/ http://jsfiddle.net/nbkHs/ Without, submits ju
by yahelc 12y ago
Very easy to replicate:
With id="submit", throws a "object is not a function" error. http://jsfiddle.net/nbkHs/ http://jsfiddle.net/nbkHs/
Without, submits just fine: http://jsfiddle.net/B8CV2/1/ http://jsfiddle.net/B8CV2/1/
- mantrax5 12y agoThe difference between id and name is significant. The article makes it feel as if it's all the same. I don't use such ids, but I use such names. The default name of an input type=submit button is, in fact, "submit".