Ticket #6264 (closed bug: duplicate)
.submit() silently fails if the form has a <input name="submit">
|Reported by:||gnarf||Owned by:|
.submit() silently fails if the form has a <input name="submit"> or <input id="submit">
The event trigger function tries caling target[ type ] as a function without first checking to see if it is really a function.
On a form with <input type="submit" name="submit"> form.submit could be the submit button.
If it is, it might be smart to just trigger a "click" on it and hope for the best.
- Priority set to undecided
- Status changed from new to closed
- Resolution set to duplicate