Bug Tracker

Ticket #5423 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.