Response title
This is preview!
<head>
<title>the original title</title>
<link href="...">
</head>
<head>
The new title
<link href="...">
</head>
document.title = 'New title'Does work and changes the title.
<html>
<head>
<title>Orig title</title>
<script src="jquery-1.4.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function() {
$("a#menu_1").click(function () {
document.title = 'New title';
});
});
</script>
</head>
<body>
<a id="menu_1" href="#">Click to change contents of the title.</a>
</body>
</html>
© 2013 jQuery Foundation
Sponsored by and others.