Modify ↓
Ticket #5423 (closed bug: fixed)
Setting attr("usemap") requires camel-case property name in MSIE
| Reported by: | vdboor | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | core | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
When assigning the usemap property to an image, it appears MSIE requires the property to be in camel-case (useMap).
As temporary fix, I've ended up with:
img.attr( { usemap: "#" + mapid
, useMap: "#" + mapid // IE 6 and 7 bug
} );
Could you handle this browser incompatibility within jQuery please?
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.

Fixed in jQuery 1.4a1, I'm not sure of the commit but it's there in jQuery.props now.