Side navigation
#8280 closed bug (invalid)
Opened February 15, 2011 10:22AM UTC
Closed February 15, 2011 11:51AM UTC
The class can not be set as "submit" with one() function
Reported by: | Edison Chuang <millionbonus@gmail.com> | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | event | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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):
Attachments (0)
Change History (3)
Changed February 15, 2011 10:42AM UTC by comment:1
Changed February 15, 2011 10:46AM UTC by comment:2
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
Changed February 15, 2011 11:51AM UTC by comment:3
component: | unfiled → event |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
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.
check out the link below (please open firebug): http://jsfiddle.net/jhND4/1