Home > Back-end >  javascript
javascript

Time:11-14

Defines a button, when the button press with change function, function is used to change the text of the text, but I can't get, when I press change text without change, help you a great god

CodePudding user response:

The document. Change the title for the document getElementsByTagName (" title ") [0] the innerText
Is ok,

CodePudding user response:

Or I can't, or no change

CodePudding user response:

reference 1st floor qq_42079944 response:
the document. Change the title for the document getElementsByTagName (" title ") [0] the innerText
Ok,

Or not, as no change

CodePudding user response:

reference 1st floor qq_42079944 response:
the document. Change the title for the document getElementsByTagName (" title ") [0] the innerText
Ok,




<meta charset="utf-8" & gt;
<style>
. TextHolder {
Background - color: black.
color: white;
}
The keyHolder {
Background - color: black.
color: white;
}

</style>


<body>