lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Javascript, jQuery 2016‧05‧03

    jQuery - input과 textarea 글자 입력수 제한

    해외에서 공유된 코드이다. 원문 : http://www.scriptiny.com/2012/09/jquery-input-textarea-limiter/ (function($) { $.fn.extend( { limiter: function(limit, elem) { $(this).on("keyup focus", function() { setCount(this, elem); }); function setCount(src, elem) { var chars = src.value.length; if (chars > limit) { src.value = src.value.substr(0, limit); chars = limit; } elem.html( limit - chars ); } setCount($(this)[0], elem); } }); })(jQuery);  이렇게 플러그인으로 […]

popular

  • 로고디자인 - 블랙과 화이트 색상을 이용한 심플한 로고 디자인 모음
  • 레이어 숨기기, 레이어 보이기
  • jQuery - a 태그의 href 값 변경하기
  • 키보드 키 코드
  • Angularjs – 컨트롤러 밖에서 컨트롤러 안의 함수 실행
  • Command 'pm2' not found / 502 Bad Gateway
  • 리눅스-root 권한 폴더나 파일 nobody로 변경
  • MovieClipLoader , 로드 시작, 로드 과정, 로드 완료
  • jQuery - css로 display none와 block에 상태에 따른 처리
  • Incorrect integer value: '' for column 'xxx'

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....