Changing document title back with javascript
So, I have some event which would change the document title using javascript.
$('.someclass').click(function(){
document.title = "Some new title";
});
Now that I've renamed the document title, how do I revert it back to what
it was originally? The text that actually appears between the <title> tags
in the html document?
No comments:
Post a Comment