Skip to main content

Bug Tracker

Side navigation

#4480 closed bug (worksforme)

Opened April 02, 2009 11:42PM UTC

Closed November 17, 2010 02:32AM UTC

Last modified February 21, 2011 11:02PM UTC

.ready doesn't work if placed after iframe

Reported by: bjohns Owned by: brandon
Priority: minor Milestone: 1.3.1
Component: event Version: 1.3.1
Keywords: iframe, ready Cc:
Blocked by: Blocking:
Description

$().ready() doesn't work if declared after an iFrame.

ex.

<html><head/><body>

<iframe src="http://google.com"/>

<script type="text/javascript" src="js/jquery.js"></script>

<script>

$().ready(function() {

alert('ready');

});

</script>

Attachments (0)
Change History (2)

Changed November 17, 2010 02:32AM UTC by dmethvin comment:1

resolution: → worksforme
status: newclosed

Changed February 21, 2011 11:02PM UTC by anonymous comment:2

I had this same issue. What fixed it for me was to add </iframe> instead of using a self-closing tag.