Bug Tracker

Opened 10 years ago

Closed 10 years ago

#11199 closed bug (invalid)

document.write in ready()

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

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 (3)

comment:1 Changed 10 years ago by Rick Waldron

Owner: set to [email protected]
Status: newpending

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 10 years ago by Rick Waldron

Resolution: invalid
Status: pendingclosed
Note: See TracTickets for help on using tickets.