ํฐ์คํ ๋ฆฌ ๋ทฐ
728x90
SMALL
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>ํจ์์ฐ์ต</title>
<script type="text/javascript">
function add(a, b){
return a + b;
}
function sub(a, b){
return a - b;
}
//๋ํผ๋ฐ์ค๋ฅผ ๊ฐ๊ฒ ๋๋ค.
var calc = add;
var calc2 = function() {
alert(sub(2,1));
}
</script>
</head>
<body>
<fieldset>
<legend>
<input type="button" value="add" onClick="alert(add(3,4));"/>
<input type="button" value="sub" onClick="calc2();"/>
</legend>
</fieldset>
</body>
</html>
728x90
LIST
'JS' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
์๋ฐ์คํฌ๋ฆฝํธ class ๊ฐ๋ (0) | 2010.07.09 |
---|---|
์๋ฐ์คํฌ๋ฆฝํธ ๊ธฐ์ด Obj (0) | 2010.07.09 |
์ผํญ์ฐ์ฐ (0) | 2009.11.05 |
window.onload ๋ก ์์ง์ด๋ ๋ ์ด์ด์ ์ด๋ฏธ์ง์ฌ์ด์ฆ ์กฐ์ ๊ฐ์ด ํ๊ธฐ (0) | 2008.08.04 |
๋์๋ฌธ์ ๊ตฌ๋ถ fontSize (0) | 2008.07.28 |
๋๊ธ
๊ณต์ง์ฌํญ
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
- Total
- Today
- Yesterday
๋งํฌ
TAG
- Java
- ๋ฉ๋ฐฐํ
- ์ธํจ์ด
- ์๋ฆฌ
- ๊ธฐํ
- 8๋ง์ผ
- php
- ๋ด๋๋ด์ฐ
- Servlet
- I Don't Care
- MySQL
- ์นด๋ฐ์จ๋ผ์ธ
- Ajax
- JS
- ์๋ธ๋ฆฟ
- JSON
- JavaScript
- ์์์ฌ์ด๋
- JSTL
- 2ne1
- asp
- EL
- ๋์ค
- ๊ฒฝ์ ์ฉ์ด
- ์น์์ด์ ์
- ๋ณต๊ทผ์ด๋
- jQuery
- JSP
- ํจ์
- ์๋ฐ์คํฌ๋ฆฝํธ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
๊ธ ๋ณด๊ดํจ
250x250