대문: 두 판 사이의 차이
보이기
편집 요약 없음 |
편집 요약 없음 |
||
| 127번째 줄: | 127번째 줄: | ||
</select> | </select> | ||
<input type="search" name="search" id=" | <input type="search" name="search" id="condition"> | ||
<button type="submit">검색</button> | <button type="submit">검색</button> | ||
| 134번째 줄: | 134번째 줄: | ||
<script> | <script> | ||
document.getElementById('selectSearch').onsubmit = function () { | document.getElementById('selectSearch').onsubmit = function () { | ||
const | const con = document.getElementById('condition'); | ||
const scope = document.getElementById('scope').value; | const scope = document.getElementById('scope').value; | ||
if (scope === 'site') | if (scope === 'site') con.value += ' incategory:유적'; | ||
if (scope === 'term') | if (scope === 'term') con.value += ' incategory:개념'; | ||
}; | }; | ||
</script> | </script> | ||


