Check if string contains only digits

how about

let isnum = /^\d+$/.test(val);

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)