recorrer letra por letra js
function validarString (cadenaAnalizar) {
for (var i = 0; i< cadenaAnalizar.length; i++) {
var caracter = cadenaAnalizar.charAt(i);
if( caracter == "ñ" || caracter == "Ñ") {
alert("Caracter no permitido");
return false;
} else {
return true;
}
}
}
Also in JavaScript:
- javascript some
- fs create or edit file
- how to find out which version of React
- discord.js v12 how to set owner commands
- cell get row google script
- how to initialize empty javascript object
- how to get only citnames in google maps api js
- react not recognizing lorem
- class extends
- how manipulate the multiple input option data in one function in vue js
- require jquery tampermonkey
- how to see my timezone using js
- adonisjs error: relation already exists
- add jquery to wordpress
- terrain generator in javascript
- jquery ajax $.post with data
- python dict into json string
- docker react module not found
- angular usehash not working
- default value of functin atribute
- import svg react
- http header express
- how to remove duplicates in array in javascript
- queryselector data attribute