Ticket #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: | |
| 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: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.
