From e3abc9bcff28b4cdcc193e2d95234a299713446f Mon Sep 17 00:00:00 2001 From: candice Date: Tue, 30 Jan 2024 11:23:30 +0800 Subject: [PATCH] =?UTF-8?q?JS=E4=BF=AE=E6=94=B9=EF=BC=8C=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=BA=BF=E8=B7=AF=E9=A1=B5=E9=9D=A2=E8=A1=A8=E5=8D=95JS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/mobile_first/ch-info-page-form.php | 352 ++++++------------ 1 file changed, 108 insertions(+), 244 deletions(-) diff --git a/application/views/mobile_first/ch-info-page-form.php b/application/views/mobile_first/ch-info-page-form.php index e5fad010..7ba8cec1 100644 --- a/application/views/mobile_first/ch-info-page-form.php +++ b/application/views/mobile_first/ch-info-page-form.php @@ -429,257 +429,121 @@ --> - - - + + - + - + var currentTarget = e.currentTarget; + if (currentTarget.id === 'Family' || currentTarget.id === 'Other' ) { + $adultBlock.show(); + $childrenBlock.show(); + } else { + $adultBlock.show(); + $childrenBlock.hide(); + } + }) + }); +}) +