document.getElementById(“remember”).visibility = “hidden”; not working on a checkbox

前端 未结 3 680
遥遥无期
遥遥无期 2021-01-04 02:39

I cannot get the visibility or display properties to work.

Here is the HTML footer:

©
3条回答
  •  无人及你
    2021-01-04 03:22

    This is the job for style property:

    document.getElementById("remember").style.visibility = "visible";
    

提交回复
热议问题