Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- DS718+
- RTL88x2BU
- ASP
- replace
- include
- 크로스 컴파일
- form
- javascript
- synology
- 커널
- utf-8
- jQuery
- submit
- SQL Injection
- XMLHTTP
- FileSystemObject
- ajax
- 시놀로지
- PHP GCM
- disabled
- 따라다니는 배너
- readonly
- Injection
- println
- 무선랜카드
- Getrows
- jquery 레이어
- euc-kr
- AC1300
- lsusb
Archives
- Today
- Total
아는 것이 좋은 것이다.
[HTML] 간단한 form 검색 기능 본문
<form name="frm_search" method="post" action="">
<select style="width:80px;margin-right:10px">
<option>광역시/도</option>
<option>서울</option>
<option>부산</option>
<option>대구</option>
<option>인천</option>
</select>
<select style="width:75px;margin-right:10px">
<option>시/군/구</option>
<option>강남구</option>
<option>강남구</option>
<option>강북구</option>
<option>강서구</option>
</select>
<input type="txt" style="width:110px"/><a href="JavaScript: document.forms.frm_search.submit();"><span class="city_search">검색</span></a>
</form>
<input type="image" src=""> 와 <input type="submit"> 이 아닌 a태그로 간단한 전송시 사용하면 좋다.
유효성 검사 필요시 스크립트로 새로 짜서 추가하여야 한다.
'HTML' 카테고리의 다른 글
[HTML] jQuery를 이용한 2차메뉴 (0) | 2014.07.16 |
---|---|
[HTML] readonly 커서 제거 (0) | 2014.07.01 |
[HTML] 모바일 웹페이지 북마크 링크 추가 (0) | 2014.06.20 |
[HTML] 우클릭 방지 (0) | 2014.05.26 |
[HTML] tabindex 탭 순서 지정하기(input에서 탭 tab할시 순서지정) (0) | 2014.05.19 |
Comments