用户登录
function checkedForm() { var username = document.getElementById('username'), password = document.getElementById('password'), key = document.getElementById('key'); if (username.value.length < 4){ alert('请输入正确的用户名'); return false; } if (password.value.length < 6){ alert('请输入正确的登录密码'); return false; } return true; }
var cnzz_s_tag =document.createElement('script');cnzz_s_tag.type ='text/javascript';cnzz_s_tag.async =true;cnzz_s_tag.charset ='utf-8';cnzz_s_tag.src ='//w.cnzz.com/c.php?id=1272xxx&async=1';var root_s =document.getElementsByTagName('script')[0];root_s.parentNode.insertBefore(cnzz_s_tag,root_s);