Modify ↓
Ticket #9380 (closed bug: duplicate)
className returns invalid attribute classname
| Reported by: | uipoet | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.next |
| Component: | unfiled | Version: | 1.6.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Before jQuery 1.6,
jQuery('<span/>', { className: 'foo' };
would return: <span class="foo"/>
Since jQuery 1.6, this returns: <span classname="foo"/>, which is invalid.
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.

http://jsfiddle.net/Q6PmD/