/**
* 숫자만 입력받게 하기
* ex) this.$el.find("#inp-call").on("keydown", _.bind(this.onKeydown_inputPhone, this))
* onKeydown_inputPhone : function(e){
* return App.appView.utilView.onlyNumberTypeInput(e);
* }
*/
function onlyNumberTypeInput(event){
event = event || window.event;
var keyID = (event.which) ? event.which : event.keyCode;
if( ( keyID >=48 && keyID <= 57 ) || ( keyID >=96 && keyID <= 105 ) || keyID == 8
|| keyID == 9 || keyID == 46 || keyID == 37 || keyID == 39 )
{
return;
}
else
{
return false;
}
}