유용한 놈들(jQuery)
JavaScript 2010. 8. 27. 11:05 |[ 숫자만 입력 받기 ]
$("#phone").bind('keyup', function(e){
$(this).val( $(this).val().replace(/[^0-9]/g, ""));
});
// 퍼센테이지 애니메이션
$("img.percentage").map(function(){
$(this).animate({"height":percentage[$("img.percentage").index(this)]},2000);
});
'JavaScript' 카테고리의 다른 글
jQuery UI Tab Header 없애기 (1) | 2010.08.31 |
---|---|
jQuery 1.4변경사항 (0) | 2010.08.30 |
구현한 놈들 (0) | 2010.08.06 |
정규식 (0) | 2010.07.26 |
Ajax 뒤로가기 구현 (3) | 2010.07.26 |