Modify ↓
Ticket #5893 (closed bug: invalid)
jQuery1.4 bug---addClass()
| Reported by: | argb | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4.1 |
| Component: | unfiled | Version: | 1.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
$("span").addClass(function(index,class){
return index + "-wg-" + class;
}); here "class" will be error on ie $("span").addClass(function(index,value){
return index + "-wg-" + value;
}); if the param name is not "class" it will be right and not error on ie any version
Attachments
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.


the .zip file,inlude another problem css.('width') is "auto",i need the real number value,not "auto"