When i save a js file. All special characters are eliminated.
Example:
I wrote the folowing java script function:
function checkdfield(source) {
if (checkDate(source)) {
return true;
} else {
alert(“La date entrée n’est pas valide. Format accepté : jj/mm/aaaa”);
source.value = “”;
}
}
After saving the file and reloading it, i am getting this result:
function checkdfield(source) {
if (checkDate(source)) {
return true;
} else {
alert(“La date entr?e n’est pas valide. Format accept? : jj/mm/aaaa”);
source.value = “”;
}
}