Skip to main content

Bug Tracker

Side navigation

#5423 closed bug (fixed)

Opened October 29, 2009 01:57PM UTC

Closed December 16, 2009 02:39AM UTC

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:
Blocked by: Blocking:

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?

Attachments (0)
Change History (1)

Changed December 16, 2009 02:39AM UTC by dmethvin comment:1

resolution: → fixed
status: newclosed

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