Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11333 closed bug (duplicate)

DOM bug: problem in IE8

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


This code not run in IE8, but in others browsers run.

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
    $("title").html("Hello World!");

<h2>This is a heading</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<button>Click me</button>

Change History (6)

comment:1 Changed 11 years ago by sindresorhus

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 get started.

comment:2 Changed 11 years ago by sindresorhus

#11331 is a duplicate of this ticket.

comment:3 Changed 11 years ago by addyosmani

Status: pendingopen

comment:4 Changed 11 years ago by addyosmani

Resolution: duplicate
Status: openclosed

You have at least two options for getting/setting the document title. With jQuery you can use:


or for a simpler cross-browser compatible version:

var currentTitle = document.title;
document.title = 'something else';

comment:5 Changed 11 years ago by addyosmani

Duplicate of #2755.

comment:6 Changed 11 years ago by anonymous

thanks for your help!

Note: See TracTickets for help on using tickets.