Académique Documents
Professionnel Documents
Culture Documents
DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script src="ex5.js"></script>
</body>
</html>
function nature() {
sl=0
sn=0
numbers=[0,1,2,3,4,5,6,7,8,9]
ch=document.getElementById('abc').value;
len=ch.length;
len=Number(len);
if ((ch[i] >= 'a' ) && (ch[i] <= 'z') || (ch[i] >= 'A' ) && (ch[i] <= 'Z')) {
sl=sl+1
sn=sn+1
if (sl==len) {
else if (sn==len) {