<script> // 클릭하면 (id) #add $(document).on("click", "#add", function(e){ e.preventDefault(); alert("test");
참고