摘要: 阅读全文
posted @ 2013-09-05 12:00 阿浪cookie 阅读(644) 评论(0) 推荐(0) 编辑
摘要: document.formName.fieldName.focus(); //此语句获得焦点formName:当前表单的名字fieldName:元素名字js:document.login.userName.focus(); //实际代码注:document.getElementById("txkk") 这里用到的是ID,而上面用到的是name。这是两者的区别。 阅读全文
posted @ 2013-09-05 11:47 阿浪cookie 阅读(177) 评论(0) 推荐(0) 编辑
摘要: if((user.value == a.value) && ((hex_md5(pass.value)) == b.value)){var txkk = document.getElementById("txkk");txkk.style.color = "#0033CC";txkk.innerHTML = "原管理员信息验证通过,请设置新的ID和密码!";var newuser = document.getElementById("newuser");var newpass = document. 阅读全文
posted @ 2013-09-05 11:42 阿浪cookie 阅读(857) 评论(0) 推荐(0) 编辑