There is a field <input class="ss" type="text"> hang an event on it:
$(".ss").keyup(function(e){ this.value = this.value.replace(/[^0-9\.]/g, ''); }); As a result, when you enter a letter, you can see it for a moment, and then it is removed. How to make it not visible? Also, β.β Is necessary.