教你摆脱传统式 我的登陆密码框 我做主

2021-01-20 13:31 jianzhan


拷贝编码
编码以下:

<html> </p> <p><!--款式-->
<style type="text/css"> </p> <p>#c { position: relative;} </p> <p>#a { position: absolute; left: 10; top: 10; font-size: 12px; font-family: 宋体; } </p> <p>#b { position: absolute; left: 10; top: 10; font-size: 12px; font-family: 宋体; -moz-opacity:0;opacity: 0;filter: alpha(opacity=0); } </p> <p></style> </p> <p><body>
<div id="c"> </p> <p><input id="a" /> </p> <p><input id="b" onkeyup="document.getElementById('a').value=this.value.replace(/./g,'*');" /> </p> <p></div>
</body>
</html>