📌  相关文章
📜  javascript getelementbyid 参数化 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:01.782000             🧑  作者: Mango

代码示例1
function arata_formular(formular) {
    var el = document.getElementById( formular );

    el.style.visibility = "visible";
    el.style.display = el.style.display === "none" ? "inline" : "visible";
}