“显示明码”弹出undefined
This commit is contained in:
parent
04764a0e4f
commit
184c17d52f
|
@ -904,7 +904,11 @@ function regexDeadLine()
|
||||||
//新建、修改课程明码显示
|
//新建、修改课程明码显示
|
||||||
$(function(){
|
$(function(){
|
||||||
$("#psw_btn").click(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());
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue