Skip to main content

Bug Tracker

Side navigation

#10709 closed bug (duplicate)

Opened November 08, 2011 01:12AM UTC

Closed November 08, 2011 01:21AM UTC

Last modified November 08, 2011 01:21AM UTC

trouble setting title in IE 8 & 7

Reported by: retaks@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7
Keywords: Cc:
Blocked by: Blocking:
Description

$('title').text('text'); throws an error in IE7 and IE8. I also tried $('title').html('text'); with no luck. Only thing that worked was document.title = 'text';

Attachments (0)
Change History (2)

Changed November 08, 2011 01:21AM UTC by timmywil comment:1

resolution: → duplicate
status: newclosed

As it should be. You can also do

$(document).prop('title', 'text');

Changed November 08, 2011 01:21AM UTC by timmywil comment:2

Duplicate of #2755.