cara mengatur visibilitas dalam javascript judul html

document.getElementById("notavailablemsg").style.visibility = "visible";
document.getElementById("submsg").style.visibility = "visible";
Determined Dog