Ticket #8280 (closed bug: invalid)
The class can not be set as "submit" with one() function
| Reported by: | Edison Chuang <millionbonus@…> | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | event | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
An input element which in a form element. The class attribute of input element can not be set as "submit" with one() function or it will cause an error "types.split is not a function".
check out the link below (please open firebug): http://jsfiddle.net/jhND4/
Change History
comment:1 in reply to: ↑ description Changed 2 years ago by Edison Chuang <millionbonus@…>
comment:2 Changed 2 years ago by Edison Chuang <millionbonus@…>
An input element which in a form element. The class attribute of input element can not be set as "submit" with one() function or it will cause an error "types.split is not a function".
check out the link below (please open firebug): http://jsfiddle.net/jhND4/1
comment:3 Changed 2 years ago by jitter
- Priority changed from undecided to low
- Resolution set to invalid
- Status changed from new to closed
- Component changed from unfiled to event
Thanks for taking the time to contribute to the jQuery project by writing a bug report and providing a test case!
After checking your report and the test cases I come to the conclusion that your report is invalid. The error you see is caused by your incorrect usage of the .one() method.
Please read http://api.jquery.com/one and check the method signature.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

check out the link below (please open firebug): http://jsfiddle.net/jhND4/1