Side navigation
#2755 closed bug (wontfix)
Opened April 28, 2008 08:11PM UTC
Closed May 01, 2008 06:50AM UTC
Last modified January 07, 2013 03:58AM UTC
Update of the <title> tag
Reported by: | azrail | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | manipulation | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I've noticed something a bit strange between FF2 and Safari. I am not sure if this is a jQuery bug, or a difference in how browsers work.
However, I have the following code to update the document.title portion for the browser.
if (document.title != $("title").text()+" "+owner.username+"-"+ticket.t_id) { document.title = $("title").text()+" "+owner.username+"-"+ticket.t_id; }
In FF when I alert $("title") I get the same "default" title I have in my HTML. However, when using Safari, the $("title") variable changes with each time I update the document.title.
Attachments (0)
Change History (19)
Changed May 01, 2008 06:50AM UTC by comment:1
_comment0: | Unfortunately I can't find the link/ticket but I believe I've seen this question before. The result iirc was a general sentiment that there would be too much code necessary to handle this in jquery and it was unnecessary since document.title pretty much works find in all browsers. Thus $("title") wasn't worth the performance and size hits to fix it. \ \ If you feel differently feel free to reopen the ticket with your thoughts. \ → 1298036946012060 |
---|---|
resolution: | → wontfix |
status: | new → closed |
Changed February 18, 2011 01:43PM UTC by comment:7
component: | core → manipulation |
---|---|
milestone: | 1.2.4 |
priority: | minor → low |
Changed February 18, 2011 01:47PM UTC by comment:10
#7250 is a duplicate of this ticket.
Changed February 18, 2011 01:47PM UTC by comment:11
#6899 is a duplicate of this ticket.
Changed February 18, 2011 01:48PM UTC by comment:12
#5489 is a duplicate of this ticket.
Changed February 24, 2011 06:24PM UTC by comment:13
#8375 is a duplicate of this ticket.
Changed July 06, 2011 11:47PM UTC by comment:14
#9761 is a duplicate of this ticket.
Changed November 04, 2011 08:15PM UTC by comment:15
#10674 is a duplicate of this ticket.
Changed November 08, 2011 01:21AM UTC by comment:16
#10709 is a duplicate of this ticket.
Changed February 10, 2012 04:31PM UTC by comment:17
#11320 is a duplicate of this ticket.
Changed February 12, 2012 01:38PM UTC by comment:18
#11333 is a duplicate of this ticket.
Changed January 07, 2013 03:58AM UTC by comment:19
#13165 is a duplicate of this ticket.
The correct cross-browser way to change the document title is through the document.title property.