jQuery – input only numbers

Hello guys, in this post I’ll show you how to restrict users to input only a numbers in given input field. It’s very simple solution that uses only a JavaScript / jquery -input only numbers. jquery – input only numbers <script> $(document).ready(function() {     $("#txtboxToFilter").keydown(function (e) {           if ($.inArray(e.keyCode, […]