Bug Tracker

Opened 12 years ago

Closed 11 years ago

#2420 closed bug (wontfix)

cannot $(div).load(url) twice when target page contains <select> under IE7

Reported by: bigbadguy Owned by:
Priority: minor Milestone: 1.2.4
Component: ajax Version: 1.2
Keywords: .load Cc:
Blocked by: Blocking:

Description

index.jsp: <style> select { behavior:url(#default#savehistory) } </style> <div id="mainbody"></div> <button onclick="$(mainbody).load('test.jsp')" > test</button>

test.jsp: <div><select></select></div>

Click the "test" button twice got error. Only affect 1.2.x

Conflict with the behavior. But it cost me 4hrs to figure out...

Change History (2)

comment:1 Changed 12 years ago by flesler

Component: coreajax

comment:2 Changed 11 years ago by dmethvin

Resolution: wontfix
Status: newclosed

This example is using the IE-specific behavior property in the css, so the code is inherently not cross-browser compatible. This seems like a problem outside jQuery. If you have a test case that shows jQuery is causing a problem that doesn't occur with bare DOM, attach it and reopen the ticket.

Note: See TracTickets for help on using tickets.