H5 이동식 소프트 키보드의 문제점

902 단어 이동단cssjquery
autofocus();
    //ios         
    function autofocus() {
        $('.telInputLogin').on('blur',function () {
            if($(this).val().length == 11){
                $('.pwsInput1Login').focus();
            }
        })
    }
    //       
    var winHeight = $(window).height();
    $(window).resize(function () {
        var thisHeight = $(this).height();
        if(winHeight - thisHeight < 50){
            $('.pwsInput1Login').focus();
        }
})
function is_weixin() {
      var ua = navigator.userAgent.toLowerCase();
      if (ua.match(/MicroMessenger/i) == "micromessenger") {

      } else {

      }
}

구체적인 수요는 핸드폰 번호를 잃은 후 OS 클릭 완료, 비밀번호 상자 초점 획득, 안드로이드 클릭 약간의 백색 삼각 화살표, 비밀번호 상자 초점 획득,
telInputLogin           ,
pwsInput1Login         

좋은 웹페이지 즐겨찾기