JQuery ¸Þ¼µå Çѹø¸¸ ½ÇÇà ( One() ) |
|
|
 |
8³â Àü |
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> One() ¸Þ¼µå Çѹø¸¸ ½ÇÇà </title>
<style type="text/css">
.redColor { color:Red;}
</style>
<script src="../jquery-1[1].3.2-vsdoc2.js"
type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
//[!] bind(), click() ¸Þ¼µå¿Í ´Þ¸® one()¸Þ¼µå´Â µüÇѹø¸¸
// ½ÇÇà µÇ°í, À̺¥Æ® ÇØÁ¦
$("#my .hover").one("click", function () { alert('Çѹø¸¸'); });
});
</script>
</head>
<body>
<div id="my">
<input type="button" id="btn" value="¹öÆ°" class="hover" />
</div>
</body>
</html> |
|
̵̧ : 369 |
̵̧
¸ñ·Ï
|
|