#8522 closed bug (invalid)
document.ready firing twice in IE8 if there is an iframe
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | event | Version: | 1.5.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
if you have an iframe in your page (such as the facebook Like script), and u use $(document).ready(), it will fire twice, once when ur page is ready, another time when the iframe loads.
Change History (4)
comment:1 follow-up: 2 Changed 12 years ago by
Component: | unfiled → event |
---|---|
Owner: | set to [email protected]… |
Status: | new → pending |
comment:2 Changed 12 years ago by
Status: | pending → new |
---|
Can you please close this ticket? It's not jQuery's fault.
The problem was with facebook's XFBML (for the Like button) creating an iframe that points to the same URL as the parent document. InternetExplorer was throwing up causing document.ready to be fired again causing a stack overflow
Replying to rwaldron:
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!
Additionally, test against the jQuery 0 GIT version to ensure the issue still exists.
This may be a duplicate of #7352
comment:3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing as the original ticket submitter has confirmed this issue isn't due to a problem with jQuery itself.
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!
Additionally, test against the jQuery 0 GIT version to ensure the issue still exists.
This may be a duplicate of #7352