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

  • 동영상 스트리밍 서비스 구축 (AWS s3/cloudFront, HLS, video.js)
  • window.location 으로 접속 url 정보 가져오기
  • js - 채널톡 삽입(커스텀 버튼, 뱃지 카운트, 서포트봇 양식 연동)
  • JS - datepicker(jQueryUI,달력) 이용시 두개 날짜 범위 설정
  • css - 텍스트에 그림자와 그라데이션 함께 넣는 코딩
  • 서비스에서 다른 Activity(.java) 안의 method 호출 (브로드 캐스트)
  • WIFI 신호 감도, 속도, AP기기 맥 어드레스 가져오기
  • MSSQL - 테이블 안의 컬럼 추가/삭제
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • jQuery - parseJSON에서 Uncaught SyntaxError: Unexpected token 오류날 때

comment

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