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("
  • ほげほげ結果だよー
  • "); + } + }); +});