【JS练习】记住密码提示框
2019-04-03 本文已影响0人
奔跑的程序媛A
<script type="text/javascript">
window.onload = function() {
var oLab = document.getElementsByTagName("label")[0];
var oTip = document.getElementById("remainder");
oLab.onmouseover = function() {
oTip.style.display = "block"
};
oLab.onmouseout = function() {
oTip.style.display = "none"
}
}
</script>