function show(){ form.student.password.value=form.password.value;}表单元素起名字要规范,1.不要用关键字.form是关键字.2.不要用特殊符号student.password