Uncaught TypeError: upload is not a function at HTMLInputElement.onclick

js 中标签的id名称不能和方法名一样,

     <tr>
        <td><input type="button" id="login" value="登录 " onclick="loginuser()"/></td>
        <td><input type="button" name = "register" value="注册"/></td>
      </tr>

 

posted @ 2019-08-28 21:22  纳兰容若♫  阅读(365)  评论(0编辑  收藏  举报