CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
front end
> Guidance of this piece of code, don't know where to go wrong, why not implemented: page 3 to re
Guidance of this piece of code, don't know where to go wrong, why not implemented: page 3 to re
Time:10-21
page 1 code:
<meta charset="utf-8" & gt;
<meta name="viewport" content="width=device - width, initial - scale=1.0" & gt;
Page 1 & lt;/title>
<body>
<script>
Var page2=document. GetElementById (" page2 ");
A.o nclick=function () {
Window. The open (" 2. Page 2. HTML ", "2. Page 2");
}
</script>