You probably have an <input name="submit" />
somewhere in your form, which overwrites the function "submit" of the form in IE.
Edit:
I have tested in some other browsers. The latest versions of all major browsers seem to be affected by this issue.
- IE - all versions
- Firefox 4+
- Chrome at least since version 12
- Opera at least since version 11
Bottom line: Never name your inputs "submit", or any other default property or method of the form element (e.g. "action" or "reset") . See MDC for a complete overview.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…