Side navigation
#8522 closed bug (invalid)
Opened March 14, 2011 02:14PM UTC
Closed March 14, 2011 05:35PM UTC
Last modified March 14, 2012 05:59PM UTC
document.ready firing twice in IE8 if there is an iframe
Reported by: | elzalem@hotmail.com | Owned by: | elzalem@hotmail.com |
---|---|---|---|
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.
Attachments (0)
Change History (4)
Changed March 14, 2011 02:29PM UTC by comment:1
component: | unfiled → event |
---|---|
owner: | → elzalem@hotmail.com |
status: | new → pending |
Changed March 14, 2011 05:17PM UTC by comment:2
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 [comment:1 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
Changed March 14, 2011 05:35PM UTC by comment:3
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