|
@@ -73,25 +73,25 @@ $( function(){
|
|
|
|
|
|
|
|
|
|
|
|
- $( "#locationList" ).on( "change", function(){
|
|
|
- if($('#locationList > option:selected').val() != "0") {
|
|
|
- console.log($('#locationList').val());
|
|
|
-// $('#centerDiv').css("display", "block");
|
|
|
+// $( "#locationList" ).on( "change", function(){
|
|
|
+// if($('#locationList > option:selected').val() != "0") {
|
|
|
+// console.log($('#locationList').val());
|
|
|
+// // $('#centerDiv').css("display", "block");
|
|
|
|
|
|
- $( "#centerList option" ).hide();
|
|
|
- if ($( "#centerList option[accessKey='"+$('#locationList').val()+"']" ).length == 0) {
|
|
|
- $("#centerLabel").text("등록된 생활치료센터가 없습니다.");
|
|
|
-// var option = "<option value='99' selected>등록된 생활치료센터가 없습니다.</option>";
|
|
|
-// $('#centerList').append(option);
|
|
|
- } else {
|
|
|
- $("#centerLabel").text("치료센터 선택");
|
|
|
- $( "#centerList option[accessKey='"+$('#locationList').val()+"']" ).show();
|
|
|
- }
|
|
|
- } else {
|
|
|
- $( "#centerList option" ).show();
|
|
|
- $("#centerLabel").text("치료센터 선택");
|
|
|
- }
|
|
|
- });
|
|
|
+// $( "#centerList option" ).hide();
|
|
|
+// if ($( "#centerList option[accessKey='"+$('#locationList').val()+"']" ).length == 0) {
|
|
|
+// $("#centerLabel").text("등록된 생활치료센터가 없습니다.");
|
|
|
+// // var option = "<option value='99' selected>등록된 생활치료센터가 없습니다.</option>";
|
|
|
+// // $('#centerList').append(option);
|
|
|
+// } else {
|
|
|
+// $("#centerLabel").text("치료센터 선택");
|
|
|
+// $( "#centerList option[accessKey='"+$('#locationList').val()+"']" ).show();
|
|
|
+// }
|
|
|
+// } else {
|
|
|
+// $( "#centerList option" ).show();
|
|
|
+// $("#centerLabel").text("치료센터 선택");
|
|
|
+// }
|
|
|
+// });
|
|
|
});
|
|
|
|
|
|
|
|
@@ -120,17 +120,17 @@ function autoLogin(){
|
|
|
<img src="/resources/images/mobile/login_visual.png" />
|
|
|
</div>
|
|
|
<div class="form">
|
|
|
- <div class="part">
|
|
|
- <div class="selectbox">
|
|
|
- <label for="locationList">전체</label>
|
|
|
- <select id="locationList" name="locationCode">
|
|
|
- <option value="0" selected>전체</option>
|
|
|
- <c:forEach var="i" items="${locationList}">
|
|
|
- <option value="${i.locationCode}"> · <c:out value="${i.locationName}" /></option>
|
|
|
- </c:forEach>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+<!-- <div class="part"> -->
|
|
|
+<!-- <div class="selectbox"> -->
|
|
|
+<!-- <label for="locationList">전체</label> -->
|
|
|
+<!-- <select id="locationList" name="locationCode"> -->
|
|
|
+<!-- <option value="0" selected>전체</option> -->
|
|
|
+<%-- <c:forEach var="i" items="${locationList}"> --%>
|
|
|
+<%-- <option value="${i.locationCode}"> · <c:out value="${i.locationName}" /></option> --%>
|
|
|
+<%-- </c:forEach> --%>
|
|
|
+<!-- </select> -->
|
|
|
+<!-- </div> -->
|
|
|
+<!-- </div> -->
|
|
|
<div class="part" id="centerDiv">
|
|
|
<div class="selectbox">
|
|
|
<label for="centerList" id="centerLabel">치료센터 선택</label>
|