From a72fd3fdc8fb10d021fc929d1a85a64d08516675 Mon Sep 17 00:00:00 2001 From: hooho Date: Sun, 28 Jun 2020 21:21:03 +0900 Subject: [PATCH] =?UTF-8?q?ajax=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RUTROLL/views/main.ejs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RUTROLL/views/main.ejs b/RUTROLL/views/main.ejs index bac63a3..4bd1bde 100644 --- a/RUTROLL/views/main.ejs +++ b/RUTROLL/views/main.ejs @@ -28,6 +28,10 @@ } function renderData(data) { console.log(data) + $.each(data,function(){ + var liEl = "
  • " + this + "
  • "; + $("#resultData").append(liEl); + }); } $(document).ready(function(){ setEvent(); @@ -45,6 +49,7 @@ +