function _getPageInputBox(htData){
        var welPageInput = $('<input type="number" pattern="[0-9]*" class="input-mini nospinner">');

        welPageInput.prop({
            "name" : htData.paramNameForPage,
            "max"  : htData.totalPages,
            "min"  : 1
        });

        welPageInput.val(htData.current);

        welPageInput.on("keydown", function(weEvt){
            if(!isValidInputNum(welPageInput, htData.current)){
                return;
            }

            var nCurrentValue = welPageInput.val();

            if(typeof htData.submit === "function"){
                htData.submit(nCurrentValue);
            } else if(weEvt.which === 13){
                document.location.href = urlWithPageNum(htData.url, nCurrentValue, htData.paramNameForPage);
            }
        });

        return welPageInput;
    }
Get PageNum INPUT element

@param htData
@returns {Wrapped Element}
@private