PDA

View Full Version : Javascript alert box with Greek characters


inershado
07-09-2003, 11:14 AM
Hey there, i am useing Javascript to check my registration form for mistakes...... do anyone knows why i cant desplay my information in other language than English...i want to use Greek but it returns somthing like symbols....


I use this script.....

<!--
function DoSubmit(obj) {
var username = obj.username.value;

var submitform = true;
var error = '********** Regis/tion *************\n\n';
error += ' : Please fill the form \n\n';

if (username.length < 1) {
error += ' : Username is a required field \n';
submitform = false;
}
if (submitform) {
obj.submit();
}
else {
error += '\n********* Regi/tion *********\n\n';
alert (error);
return false;
}
}
-->


So a popup alert box appears with the changes use should do...but i want to change them with Greek....

i wonder if anyone knows something about it....

Thanks