From 3ef8cf126eef0e5d16161be6b86412c083a81ec8 Mon Sep 17 00:00:00 2001 From: kobakakzu0429 Date: Thu, 26 Apr 2018 15:11:07 +0900 Subject: [PATCH] =?UTF-8?q?=E6=A4=9C=E7=B4=A2=E7=B5=90=E6=9E=9C=E3=81=AE?= =?UTF-8?q?=E5=80=99=E8=A3=9C=E3=82=92append=E3=81=A7=E8=BF=BD=E5=8A=A0?= =?UTF-8?q?=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/search.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 assets/js/search.js diff --git a/assets/js/search.js b/assets/js/search.js new file mode 100644 index 0000000..2946912 --- /dev/null +++ b/assets/js/search.js @@ -0,0 +1,14 @@ +var count = 0; + +$(function() { + $("#plus").click(function() { + count++; + if (count === 1) { + $("#result-area").addClass('result') + $("#result-area").append(""); + $("#result").append("
  • ほげほげ結果だよー
  • "); + } else { + $("#result").append("
  • ほげほげ結果だよー
  • "); + } + }); +});