1 Attachment(s)
[CLOSED] Special characters dosen't works in message box in IE8
Hi,
I implemented a js function that itterates a string and dispaly a notification to inform user that the string contains special characters this is the code below :
Code:
var getSelectedFile = function (fieldID) {
var iChars = "\/:*?\"'<>|#{}%~&";
for (var i = 0; i < fieldID.getValue().length; i++) {
if (iChars.indexOf(fieldID.getValue().charAt(i)) != -1) {
Ext.Msg.show({
title: 'Warning',
msg: getFileUploadSpecialCharacterErrorMsg() + fieldID.getValue().charAt(i),
buttons: {
ok: 'ok',
},
closable:false,
icon: Ext.MessageBox.WARNING,
fn: function(btn) {
if (btn == 'ok') {
fieldID.clear();
}
}
});
return false;
}
}
};
This is the screent short [Msg missed the special character]
Attachment 4572