이준호 전자조정시스템 고도화 커밋

- 더보기 버튼이 작동하지 않는 오류 수정
This commit is contained in:
leejunho 2022-12-22 17:56:27 +09:00
parent 92873a7034
commit 3348c6b7f9
3 changed files with 50 additions and 46 deletions

View File

@ -49,21 +49,22 @@
linkForm.action = "<c:url value='/web/kccadr/accdnt/arc/corReqList.do'/>";
linkForm.submit();
}
$(".btn_all").click(function() {
/* var btnIdx = $(".btn_all").index(this); */
var text = $(this).parent().children(".change_text_wrap");
if (text.is(".close") == true) {
text.removeClass("close");
$(this).addClass("close");
$(this).text("닫기");
$(this).attr("title", "내용 일부만 보이기");
} else {
text.addClass("close");
$(this).removeClass("close");
$(this).text("더보기");
$(this).attr("title", "내용 전체보기");
}
$(document).on(function() {
$(".btn_all").click(function() {
/* var btnIdx = $(".btn_all").index(this); */
var text = $(this).parent().children(".change_text_wrap");
if (text.is(".close") == true) {
text.removeClass("close");
$(this).addClass("close");
$(this).text("닫기");
$(this).attr("title", "내용 일부만 보이기");
} else {
text.addClass("close");
$(this).removeClass("close");
$(this).text("더보기");
$(this).attr("title", "내용 전체보기");
}
});
});
//접수증 팝업

View File

@ -62,20 +62,22 @@
linkForm.submit();
}
$(".btn_all").click(function() {
/* var btnIdx = $(".btn_all").index(this); */
var text = $(this).parent().children(".change_text_wrap");
if (text.is(".close") == true) {
text.removeClass("close");
$(this).addClass("close");
$(this).text("닫기");
$(this).attr("title", "내용 일부만 보이기");
} else {
text.addClass("close");
$(this).removeClass("close");
$(this).text("더보기");
$(this).attr("title", "내용 전체보기");
}
$(document).on(function() {
$(".btn_all").click(function() {
/* var btnIdx = $(".btn_all").index(this); */
var text = $(this).parent("td").children(".change_text_wrap");
if (text.is(".close") == true) {
text.removeClass("close");
$(this).addClass("close");
$(this).text("닫기");
$(this).attr("title", "내용 일부만 보이기");
} else {
text.addClass("close");
$(this).removeClass("close");
$(this).text("더보기");
$(this).attr("title", "내용 전체보기");
}
});
});
//접수증 팝업

View File

@ -82,21 +82,6 @@
linkForm.submit();
}
$(".btn_all").click(function() {
/* var btnIdx = $(".btn_all").index(this); */
var text = $(this).parent().children(".change_text_wrap");
if (text.is(".close") == true) {
text.removeClass("close");
$(this).addClass("close");
$(this).text("닫기");
$(this).attr("title", "내용 일부만 보이기");
} else {
text.addClass("close");
$(this).removeClass("close");
$(this).text("더보기");
$(this).attr("title", "내용 전체보기");
}
});
/*
$('.step').click(function(){
@ -131,6 +116,22 @@
$("#stepBtn"+activeStep).show();
}
$(".btn_all").click(function() {
/* var btnIdx = $(".btn_all").index(this); */
var text = $(this).parent().children(".change_text_wrap");
if (text.is(".close") == true) {
text.removeClass("close");
$(this).addClass("close");
$(this).text("닫기");
$(this).attr("title", "내용 일부만 보이기");
} else {
text.addClass("close");
$(this).removeClass("close");
$(this).text("더보기");
$(this).attr("title", "내용 전체보기");
}
});
});