Jquery修改页面标题title其它JS失效的解决方法

2020-05-17 06:26:16易采站长站整理

Jquery代码


$(“title”).html(“hello”);
后来只好用下面这段js代码来实现

Js代码


document.title=”hello”;