Opened 12 years ago
Closed 12 years ago
#8280 closed bug (invalid)
The class can not be set as "submit" with one() function
Reported by: | 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): http://jsfiddle.net/jhND4/
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
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 12 years ago by
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