var numdom = document.getElementById('inpid').value; if(numdom.match(/^d+$/)) { //Число целое }
(Просмотрено 247 раз, 1 раз за сегодня)
var numdom = document.getElementById('inpid').value; if(numdom.match(/^d+$/)) { //Число целое }
Мы используем файлы cookie для улучшения вашего взаимодействия с нашим сайтом. Используя наш сайт, вы соглашаетесь с использованием файлов cookie.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.