Side navigation
#11367 closed bug (wontfix)
Opened February 21, 2012 10:22AM UTC
Closed February 21, 2012 01:18PM UTC
Custom events on form fail if it has an input with the same name
Reported by: | janis-grigaluns | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Example: http://jsfiddle.net/6WDsU/
Patch: https://github.com/janis-grigaluns/jquery/commit/31f4eb94c8bd6fc2acce341ce9b9d4aca0ddb233
Older jQuery versions are not affected
Also these tickets would be properly fixed by this:
Attachments (0)
Change History (1)
Changed February 21, 2012 01:18PM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
The easiest fix to this problem is to not use custom events with the same name as form element attribute values. In fact - when it comes to custom events, you should be namespacing them - which would avoid this issue entirely.