This is my code:
这是我的代码:
<br>
< button onclick="myFunction()">LOLNEXUS< /button>
function myFunction () {
var person = prompt ( "Please enter your summoner name", "");
if ( person != null) {
document.getElementById("demo").innerHTML =
"https://www.lolnexus.com/NA/search?name="+ person;
}
<br>
< button