Bug Tracker

Modify

Ticket #2420 (closed bug: wontfix)

Opened 5 years ago

Last modified 4 years ago

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

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

comment:1 Changed 5 years ago by flesler

  • Component changed from core to ajax

comment:2 Changed 4 years ago by dmethvin

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

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.

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

View

Add a comment

Modify Ticket

Action
as closed
Author


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

 
Note: See TracTickets for help on using tickets.