From a4ce227bab9c94e0281a4de51955d83d1017fa6a Mon Sep 17 00:00:00 2001 From: subsub Date: Wed, 20 Mar 2024 15:42:54 +0900 Subject: [PATCH] =?UTF-8?q?2024/03/20=20[=EC=9B=B9=EC=A0=91=EA=B7=BC?= =?UTF-8?q?=EC=84=B1=20=EC=88=98=EC=A0=95]=20disabled=20=E2=86=92=20readon?= =?UTF-8?q?ly=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/kccadr/accdnt/adr/adjstDeputyReqCreate.jsp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/adr/adjstDeputyReqCreate.jsp b/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/adr/adjstDeputyReqCreate.jsp index 1c183495..7fd1f16a 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/adr/adjstDeputyReqCreate.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/adr/adjstDeputyReqCreate.jsp @@ -29,13 +29,14 @@ c <%@ page contentType="text/html; charset=utf-8"%> $("input[name=rpplRltnTy]").on("click",function(){ if($(this).is(":checked")){ $("input[name=rpplRltnTy]").prop("checked" , false); - $(this).closest("td").find("input[type=text]").prop("disabled", true); + $(this).closest("td").find("input[type=text]").prop("readonly", true); $(this).closest("td").find("input[type=text]").val(""); $(this).prop("checked" , true); - $(this).next().next().prop("disabled", false); + $(this).next().next().prop("readonly", false); + $(this).next().next().removeClass("read-only"); }else{ $(this).next().next().val(""); - $(this).next().next().prop("disabled", true); + $(this).next().next().prop("readonly", true); } }); @@ -287,11 +288,11 @@ c <%@ page contentType="text/html; charset=utf-8"%>
checked > - + checked > - + checked> - +