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);  이렇게 플러그인으로 […]

  • Javascript, jQuery 2015‧08‧10

    자바스크립트 - 객체안에 값이 있는지 여부

    var A = {}; 라는 객체에 있는지 없는지 여부를 length 로 사용해서 조건문을 만들게 되는데 A.length > 0  이렇게 바로 객체의 길이를 요청하면 에러가 난다. Object.keys(A).length > 0  이 처럼 길이를 요청하면 된다.  

popular

  • lightsail ssl 인증서 갱신 + 자동 갱신 (bncert-tool 무료 ssl)
  • Php - 셀렉트 옵션에 기본값 설정
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.
  • 동영상 스트리밍 서비스 구축 (AWS s3/cloudFront, HLS, video.js)
  • aws Cannot exceed quota for PoliciesPerRole: 10
  • JS-setTimeout() , clearTimeout()
  • Mobis Phoebus site renewal
  • CTO로 선임된 지 2년 6개월
  • JS-현재 위치(지오로케이션) 구글맵 api 에 표시

comment

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