Side navigation
#11199 closed bug (invalid)
Opened January 20, 2012 03:03PM UTC
Closed January 20, 2012 04:31PM UTC
document.write in ready()
Reported by: | marc@misterphp.com | Owned by: | marc@misterphp.com |
---|---|---|---|
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
Attachments (0)
Change History (3)
Changed January 20, 2012 03:16PM UTC by comment:1
owner: | → marc@misterphp.com |
---|---|
status: | new → pending |
Changed January 20, 2012 03:35PM UTC by comment:2
Changed January 20, 2012 04:31PM UTC by comment:3
resolution: | → invalid |
---|---|
status: | pending → closed |
Please read https://developer.mozilla.org/en/document.write
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.