Bug Tracker


Ticket #5423 (closed bug: fixed)

Opened 4 years ago

Last modified 4 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:


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 4 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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.