Text box accepting numbers in browsers and ipad but not in android mobile


#1

i have a following code in the keydown textbox event for my meteor app,
this textbox is accepting the numbers, it is working in browsers and
ipad, but not in android mobile phone. Not sure what is wrong?

'keydown .clsAmount':function(eve){
    var keyid=eve.which;
    //console.log("the key press for amount is:"+keyid);
    if((eve.which>47 && eve.which<58) || (eve.which>95 && eve.which<106)|| eve.which==8 || eve.which==9 || eve.which==13 || eve.which==110) {
        //console.log("its a number");  
    }else{
        alert("Not a number, Enter only numbers");
        $(eve.target).val('');
        eve.preventDefault();
    }
},