I have coded myself into a corner. Does anyone know the answer? Thanks!
Maybe this will help you:
$(document).attr('title', 'new title');
Try:
$(document).ready(function() {
this.title = 'foo'
})
document.title = 'new value';
Is this not working for you?
$('title').text("Boo");
is not good idea because IE8 has problem with that.
this bug is reported Here but jQuery developers did not solve that and their solution is Use document.title='Boo';
.
my idea is that
document.title
is best option and it is cross browser solution$(document).attr('title', 'new title');
. i tested it and has no problem with major browsers and IE8This will work also:
$('title').text("Boo");