SOFTMOA TECHNOLOGY

[ jqeury ] Datepicker - anytime.js 사용법

소프트모아가 정리한 기술 기록입니다.

Contents
작성일 2014. 11. 04.
anytime.5.0.5.min.js
anytime.5.0.5.min.css

추가후

<input type="text" id="tabOverDemoInput"/>

<script type="text/javascript">
(function tabOverDemoSetup() {
  $('#tabOverDemoInput').
    click( function(e) { $(this).off('click').AnyTime_picker().focus(); } ).
    keydown(
      function(e) {
        var key = e.keyCode || e.which;
        if ( ( key != 16 ) && ( key != 9 ) ) { // shift, del, tab
          $(this).off('keydown').AnyTime_picker().focus();
          e.preventDefault();
          }
        } );
  })();
</script>
Share this

FrontEnd

Have a questions?

견적 및 기술문의

mobile : 010-7931-4813

Contact Form