<script type="text/javascript">
function CheckAll() {
var Titleid = document.getElementById('ID');
var tit = Titleid.value;
var T = [];
for (var i = 0, j = Titleid.value.length; j--; i++) {
T[i] = tit.charCodeAt(i);
if (T[i] > 128) {
alert("Ascii found: " + String.fromCharCode(T[i]));
document.getElementById('ID').focus();
return false;
}
}
return true;
}
</script>
No comments:
Post a Comment