Modify ↓
Ticket #10559 (closed bug: worksforme)
.attr() works fail in custom attribute with empty value in IE6/7
| Reported by: | swain | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.7 |
| Component: | attributes | Version: | 1.6.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
.attr() returns undefined when attribute's value is empty in IE6/7. ex. <div customattr=""></div>
Change History
comment:2 Changed 19 months ago by timmywil
- Priority changed from undecided to low
- Resolution set to worksforme
- Status changed from new to closed
- Component changed from unfiled to attributes
- Milestone changed from None to 1.7
This is fixed in the latest jQuery. http://jsfiddle.net/timmywil/uFRq5/2/
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/swainet/uFRq5/embedded/result/