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

  • 안드로이드 프로젝트 안에 미디어 파일을 넣고 경로 불러오기
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • 디바이스 현재 아이피 주소 가져오기
  • Github, AWS EC2, Next.js CI/CD 자동화 + Slack 연동
  • Immutability Helpers 간단 사용법
  • aws lightsail mysql died - /opt/bitnami/mysql/scripts/ctl.sh : mysql  could not be started
  • css - 크롬 position fixed 버그 해결 방법
  • Auto Scaling + codedeploy 배포 오류 - The IAM role arn:aws: does not give you permission to perform operations in the following AWS service: AmazonAutoScaling. Contact your AWS administrator if you need help. If you are an AWS administrator, you can grant permissions to your users or groups by creating IAM policies.
  • 다이나믹 필드를 입력받은 값에 맞춰 크기 맞추기
  • 워드프레스 사이트에 사용된 테마와 플러그인 알아내기

comment

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