The regular method in which this input can only enter positive integers doesn't seem to work.

<input type="text" onkeyup="this.value=this.value.replace(/\D/g,"")" onpaste="return false;"></input>

sometimes it works, sometimes it doesn"t work

Mar.17,2021

<input type="text" oninput="this.value=this.value.replace(/\D/g,'')" onpaste="return false;"></input>

<input type="text" oninput="javascript:this.value=this.value.replace(/[^\d]/g,'')" onpaste="return false;"/>

you can match multiple positive integers

by using the regular tool MTracer ^ codeshelper id=0 $. Therefore, you can replace the regular expression with
oninput= "this.value=this.value.replace

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3665a-4104f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3665a-4104f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?