“显示明码”弹出undefined

This commit is contained in:
cxt 2016-06-02 15:34:43 +08:00
parent 04764a0e4f
commit 184c17d52f
1 changed files with 5 additions and 1 deletions

View File

@ -904,7 +904,11 @@ function regexDeadLine()
//新建、修改课程明码显示
$(function(){
$("#psw_btn").click(function() {
alert("密码: "+$("#course_course_password").val());
if($("#new_course_course_password").length > 0) {
alert("密码: "+$("#new_course_course_password").val());
} else if($("#edit_course_course_password").length > 0){
alert("密码: "+$("#edit_course_course_password").val());
}
});
});