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
- replace
- 따라다니는 배너
- jQuery
- 커널
- PHP GCM
- 시놀로지
- Getrows
- println
- javascript
- ajax
- synology
- AC1300
- 무선랜카드
- euc-kr
- lsusb
- submit
- jquery 레이어
- include
- Injection
- readonly
- form
- DS718+
- disabled
- RTL88x2BU
- SQL Injection
- XMLHTTP
- 크로스 컴파일
- utf-8
- ASP
- FileSystemObject
Archives
- Today
- Total
아는 것이 좋은 것이다.
[jQuery] 함수 생성후 호출 본문
$(document).ready(function() {
$('#btnSun').click(function() {
$.fn.myFunction();
});
$.fn.myFunction = function() {
alert('hi');
}
});
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<input type="button" value="테스트" id="btnSun">
'jQuery' 카테고리의 다른 글
[jQuery] select option value 이외에 다른 값 사용하기(data 함수) (0) | 2019.06.12 |
---|---|
[jQuqery] request parameter 받기 (0) | 2016.04.13 |
[jQuery] .trigger() 이벤트 강제 실행 함수 (0) | 2015.02.11 |
[jQuery] ajax 통신후 스크립트 먹통일 경우 (0) | 2015.02.09 |
[jQuery] asp, php 사용하지 않고 include 하기 (0) | 2014.07.13 |
Comments