<input class="s-row-col_input" type="number" onkeypress="return( /[\d]/.test(String.fromCharCode(event.keyCode) ) )" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" />
<input class="s-row-col_input" type="number" onkeypress="return( /[\d]/.test(String.fromCharCode(event.keyCode) ) )" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" />