📜  在 html 代码示例中更正后删除验证错误

📅  最后修改于: 2022-03-11 14:53:15.401000             🧑  作者: Mango

代码示例1
if (!validateUsername())
    {
        document.getElementById('uname').innerHTML = "Please enter a username";
    }else {
        document.getElementById('uname').innerHTML = "";
    }