Modify ↓
Ticket #9329 (closed bug: fixed)
attr("title") issue in ie7
| Reported by: | naltatis | Owned by: | timmywil |
|---|---|---|---|
| Priority: | low | Milestone: | 1.6.2 |
| Component: | attributes | Version: | 1.6.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
$("<div>").attr('title') // returns ""
A missing "title" attribute returns empty string instead of undefined in ie7
Change History
comment:2 Changed 2 years ago by timmywil
- Owner set to timmywil
- Priority changed from undecided to low
- Status changed from new to assigned
- Component changed from unfiled to attributes
- Milestone changed from 1.next to 1.6.2
comment:3 Changed 2 years ago by timmywil
- Status changed from assigned to closed
- Resolution set to fixed
Switched title attribute to getAttributeNode for IE6/7. Fixes #9329.
Changeset: 7d3ba9f89e8077dff96e4cd9784fda20625c38d6
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/m3D8E/