서

input text 대문자만 받는 Jquery

· 2016-01-25 (월) 16:26:22 · 2578

<script type="text/javascript">

$(document).ready(function() {

    $("#txt").bind("keyup", function() {

    $( this ).val($( this ).val().toUpperCase());

    }); 

});

</script>  

 

<input type="text" id="txt" style="text-transform: uppercase;"/> 

|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+