Home > Web Front-end > JS Tutorial > Jquery changes the page title title and other JS failure solutions_jquery

Jquery changes the page title title and other JS failure solutions_jquery

WBOY
Release: 2016-05-16 16:32:29
Original
1496 people have browsed it

Jquery code

Copy code The code is as follows:

$("title").html("hello");

Later, I had to use the following js code to achieve it

Js code

Copy code The code is as follows:

document.title="hello";
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template