好记性不如烂笔头。

js(jQuery)修改title

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>default title</TITLE>
<script>document.title='title name';</script>
</HEAD>
<BODY>
</body>
</HTML>
jQuery:
$(document).attr("title");//获取title值.
$(document).attr("title","new title name");//修改title值