/ Published in: JavaScript
Expand |
Embed | Plain Text
esEntero: function(valor){ if(!isNaN(valor)){ for(var i = 0; i<valor.length;i++){ if(valor.charCodeAt(i)<48 || valor.charCodeAt(i)>57) return false; } }else{ return false; } return true; }
You need to login to post a comment.
