I am trying to reset the title of the page in JQuery, without having to refresh it. Every place I have looked allows me to use either:
$('title').text('foo');
OR
$(document).attr('title', 'foo2');
Which [apparently] needs a refresh to work properly. I am loading information into a div in the main page and never needing to refresh the page. Does anyone have any ideas? Thanks in advance!
Not much to do with jquery, except for when (ie handling some event) you decide to change the page title: document.title = 'something';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With