Eunsu486

Modify Form tag to match inputfunction

......@@ -5,13 +5,10 @@
<title>Animal Info</title>
<!-- 합쳐지고 최소화된 최신 CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!-- 부가적인 테마 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css">
<!-- 합쳐지고 최소화된 최신 자바스크립트 -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<style>
html {
min-height: 100%;
......@@ -65,33 +62,27 @@
font-size: xx-large;
}
</style>
<script>
function sm() {
document.getElementById("location").submit();
}
</script>
</head>
<body>
<header id="header">
<%- include("components/header") -%>
</header>
<div class="content">
<div class="nav">
<%- include("components/navigation") -%>
</div>
<div class="jumbotron">
<h2>서울시 동물 병원 검색</h2>
<p>
지역 선택
</p>
<form action="/category/park" method="post" name="location" id="location">
<form action="/category" method="POST" name="location" id="location">
<select onchange="sm()" name="user_gu" id="user_gu_select">
<option value='' selected="true" disabled="true">--Please choose an option--</option>
<option value='강남구'>강남구</option>
......@@ -121,10 +112,11 @@
<option value='중랑구'>중랑구</option>
</select>
</form>
<footer id="footer">
<%- include("components/footer") -%>
</footer>
</div>
</div>
<footer id="footer">
<%- include("components/footer") -%>
</footer>
</body>
</html>
\ No newline at end of file
......