Ticket #10217 (closed bug: invalid)
document.ready() does not fire with Chrome
| Reported by: | zluspai@… | Owned by: | zluspai@… |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | event | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I've a simple script like: $(document).ready(function() { alert('hello!"); });
When this script is appearing in a combination of: *inside an iframe *with Chrome version 14 *on a web site with https
then the function is not called. The same thing works with FireFox 3.6 and the same script works locally (with an url of http://localhost....).
The equivalent YUI's YAHOO.util.Event.onDOMReady(....) works even with Chrome.
Change History
comment:1 Changed 21 months ago by addyosmani
- Owner set to zluspai@…
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to event
comment:2 Changed 20 months ago by trac-o-bot
- Status changed from pending to closed
- Resolution set to invalid
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Thanks for submitting a ticket to the jQuery Bug Tracker. Could you please provide us with a complete test case (either on jsFiddle or otherwise as this involves local behaviour) that we can use to verify/confirm the behaviour you're experiencing. Thanks.