阅读背景:

创建一个在输入后链接URL的Button

来源:互联网 

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 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: