Opened 13 years ago
Closed 13 years ago
#5639 closed bug (fixed)
Binding a function to submit() a form fails in FF 3.0.15 and Chrome
Reported by: | Julian | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | event | Version: | 1.4a1 |
Keywords: | form submit firefox chrome bind click | Cc: | |
Blocked by: | Blocking: |
Description
Bind a click handler to a function that submits a form fails with no error in 1.4a1.
If you replace $('#the_form').submit(); with alert('something'); it works fine in both versions, so it seems to be related to submit().
This bug is reproducible in Firefox 3.0.15 on Windows and Linux as well as Chrome for Windows and Linux. The issue is not present in IE6 or IE8. The page works fine when you load it with jQuery 1.3.2. I've attached a test file.
Attachments (1)
Change History (4)
Changed 13 years ago by
Attachment: | jqform.html added |
---|
comment:1 Changed 13 years ago by
This seems similar to http://dev.jquery.com/ticket/5124 - I tried the patch for that one with no success.
comment:2 Changed 13 years ago by
Nope, scratch that! The patch for 5124 fixed this issue as well, so please mark this as resolved.
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
test for submit event bug