From e392c1cf457a420148118779738b2a9e5e43d256 Mon Sep 17 00:00:00 2001 From: rosewiper Date: Wed, 21 Aug 2024 14:28:40 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=20=EB=B0=9C?= =?UTF-8?q?=EC=8B=A0=EB=B2=88=ED=98=B8=20=EC=8A=B9=EC=9D=B8=20=EB=B0=98?= =?UTF-8?q?=EB=A0=A4=EC=82=AC=EC=9C=A0=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/uss/ion/msg/sendNumberReturnPop.jsp | 47 ++++++++++++------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/uss/ion/msg/sendNumberReturnPop.jsp b/src/main/webapp/WEB-INF/jsp/uss/ion/msg/sendNumberReturnPop.jsp index 3031beea..44a074d9 100644 --- a/src/main/webapp/WEB-INF/jsp/uss/ion/msg/sendNumberReturnPop.jsp +++ b/src/main/webapp/WEB-INF/jsp/uss/ion/msg/sendNumberReturnPop.jsp @@ -39,14 +39,22 @@ $(document).ready(function() { // change 함수 - $("#changeWord").change(function() { + /* $("#changeWord").change(function() { // 변경된 값으로 비교 후 alert 표출 if($(this).val() == ""){ $("#rejectReason").val(''); } else { - $("#rejectReason").val($(this).val()); + + var memo = $(this).val(); + var spMemo = memo.split('
').join("\r\n"); + + console.log("memo split ::: "+memo); + + $("#rejectReason").html(spMemo); + + //$("#rejectReason").val($(this).val()); } - }); + }); */ }); @@ -94,6 +102,15 @@ function authYnC() { } +function fnRejectResonInput(){ + + //각 문구 줄바꿈 처리 적용 + var memo = $("#changeWord option:selected").val(); + var spMemo = memo.split('
').join("\r\n"); + $("#rejectReason").html(spMemo); + +} + @@ -113,20 +130,18 @@ function authYnC() { 반려문구 - - - - - - - - - - - - - + + + + + + + + + +