有没有办法,使用jQuery,在页面加载后更改document.title? [英] Is there a way, using jQuery, to change the document.title after the page has loaded?

查看:300
本文介绍了有没有办法,使用jQuery,在页面加载后更改document.title?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将自己编入一个角落。有人知道答案吗?谢谢!

解决方案

$( '标题')文本( 啵);


I have coded myself into a corner. Does anyone know the answer? Thanks!

解决方案

This will work also:

$('title').text("Boo");

这篇关于有没有办法,使用jQuery,在页面加载后更改document.title?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆