如何用javascript写"注册成功"假设你的button的id为btndocument.getElementById("btn").onclick=function(){alert("注册成功")}如果是.net的话,可以直接在按钮上写2023-02-21JavaScript290