parent
fd7f8bc625
commit
92b56c798a
1 changed files with 7 additions and 0 deletions
|
@ -108,4 +108,11 @@ jQuery(function() {
|
|||
jQuery(this).fadeOut();
|
||||
}
|
||||
});
|
||||
|
||||
jQuery('#phoneLoyalty').keydown(function (e) {
|
||||
let key = e.key;
|
||||
|
||||
return (key >= '0' && key <= '9') || key == '+' || key == '(' || key == ')'|| key == '-' ||
|
||||
key == 'ArrowLeft' || key == 'ArrowRight' || key == 'Delete' || key == 'Backspace';
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue