Bug Tracker

Modify

Ticket #11199 (closed bug: invalid)

Opened 17 months ago

Last modified 17 months ago

document.write in ready()

Reported by: marc@… Owned by: marc@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

Description

Hi,

A write in ready() leaves Firefox (9.0.1) in a wait state (the current tab display a wait cursor).

This occurs both in Windows and Linux with the latest JQuery.

Under Linux (Fedora 16), the string does not appear in the browser.

Here is the test:

<html>

<body>

<script type="text/javascript" src=" http://code.jquery.com/jquery-1.7.1.js"></script> <script type="text/javascript">

$(document).ready (

function() {

document.write("test");

}

);

</script> <div>

</body>

</html>

Cheers,

Marc

Change History

comment:1 Changed 17 months ago by rwaldron

  • Owner set to marc@…
  • Status changed from new to pending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists. To get you started, use this boilerplate:  http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to begin.

comment:3 Changed 17 months ago by rwaldron

  • Status changed from pending to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.