Opened 10 years ago
Closed 10 years ago
#13048 closed bug (notabug)
Is it a normal behaviour on submitting form?
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See here: http://jsfiddle.net/mm7Cf/4/
Type any text (or not), just focus on text input, and type enter.
Questions:
- Why it's the binding on the button which works?
- Why my binding on the form doesn't work?
If you remove the binding on submit button, my form binding works. If you remove the binding on form, the submit button binding works, EVEN IF I do not click on the button, just submitting it when focusing on text input and type "enter".
In my opinion, it's not the wrong behaviour.
Typing enter on text input focused should only execute bind on form.
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
It could be a DOM bug. Gosh... http://jsfiddle.net/NAaBE/1/