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
- Eclips
- 메서드
- Java
- 기본
- OGNL
- 배열
- Menu
- HTML
- 메소드
- AWT
- struts2
- Spring
- 생성자
- oracle
- mybatis
- 어노테이션
- 오버로딩
- 안드로이드
- 클래스
- paint
- layout
- 국제화
- 예외처리
- JSP
- 전화걸기
- 이클립스
- JavaScript
- 에러페이지
- Android
- Graphic
Archives
- Today
- Total
note
입력 양식 필터 선택자 본문
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script src="http://code.jquery.com/jquery-1.7.js"></script>
<script>
$(document).ready(function (){
//5초 후에 코드를 실행합니다.
setTimeout(function() {
var value = $('select > option:selected').val();
//출력합니다.
alert(value);
},5000);
});
</script>
</head>
<body>
<select>
<option>Apple</option>
<option>Bag</option>
<option>Cat</option>
<option>Dog</option>
<option>Elephant</option>
</select>
</body>
</html>